old_contents: from setuptools import setup
  
  setup(
      name="opaque_keys",
      version="0.1",
      packages=[
          "opaque_keys",
      ],
      install_requires=[
          "stevedore"
      ],
      entry_points={
          'opaque_keys.testing': [
              'base10 = opaque_keys.tests.test_opaque_keys:Base10Key',
              'hex = opaque_keys.tests.test_opaque_keys:HexKey',
              'dict = opaque_keys.tests.test_opaque_keys:DictKey',
          ],
          'course_key': [
              'slashes = opaque_keys.edx.locations:SlashSeparatedCourseKey',
              'course-locator = opaque_keys.edx.locator:CourseLocator',
          ],
          'usage_key': [
              'location = opaque_keys.edx.locations:Location',
              'edx = opaque_keys.edx.locator:BlockUsageLocator',
          ],
          'asset_key': [
              'asset-location = opaque_keys.edx.locations:AssetLocation',
          ],
          'definition_key': [
              'defx = opaque_keys.edx.locator:DefinitionLocator',
          ],
      }
  
  )
  
new_contents: from setuptools import setup
  
  setup(
      name="opaque_keys",
      version="0.1",
      packages=[
          "opaque_keys",
          "opaque_keys.edx",
      ],
      install_requires=[
          "stevedore"
      ],
      entry_points={
          'opaque_keys.testing': [
              'base10 = opaque_keys.tests.test_opaque_keys:Base10Key',
              'hex = opaque_keys.tests.test_opaque_keys:HexKey',
              'dict = opaque_keys.tests.test_opaque_keys:DictKey',
          ],
          'course_key': [
              'slashes = opaque_keys.edx.locations:SlashSeparatedCourseKey',
              'course-locator = opaque_keys.edx.locator:CourseLocator',
          ],
          'usage_key': [
              'location = opaque_keys.edx.locations:Location',
              'edx = opaque_keys.edx.locator:BlockUsageLocator',
          ],
          'asset_key': [
              'asset-location = opaque_keys.edx.locations:AssetLocation',
          ],
          'definition_key': [
              'defx = opaque_keys.edx.locator:DefinitionLocator',
          ],
      }
  
  )
  
subject: Add sub-package opaque_keys.edx to setup.py's package list.