forked from openedx/opaque-keys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (42 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from setuptools import setup
setup(
name="opaque_keys",
version="0.1.2",
packages=[
"opaque_keys",
"opaque_keys.edx",
],
install_requires=[
"stevedore",
"pymongo"
],
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': [
'course-v1 = opaque_keys.edx.locator:CourseLocator',
'library-v1 = opaque_keys.edx.locator:LibraryLocator',
# don't use slashes in any new code
'slashes = opaque_keys.edx.locator:CourseLocator',
],
'usage_key': [
'block-v1 = opaque_keys.edx.locator:BlockUsageLocator',
'lib-block-v1 = opaque_keys.edx.locator:LibraryUsageLocator',
'location = opaque_keys.edx.locations:DeprecatedLocation',
'aside-usage-v1 = opaque_keys.edx.asides:AsideUsageKeyV1',
],
'asset_key': [
'asset-v1 = opaque_keys.edx.locator:AssetLocator',
],
'definition_key': [
'def-v1 = opaque_keys.edx.locator:DefinitionLocator',
'aside-def-v1 = opaque_keys.edx.asides:AsideDefinitionKeyV1',
],
'block_type': [
'block-type-v1 = opaque_keys.edx.block_types:BlockTypeKeyV1',
]
}
)