-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
45 lines (39 loc) · 1.46 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
45
from glob import glob
from os.path import basename, splitext
from setuptools import setup, find_packages
from utils import get_version, load_requirements
with open("README.rst", encoding="utf-8") as readme_file:
readme = readme_file.read()
VERSION = get_version("src", "cc2olx", "__init__.py")
setup(
python_requires=">=3.8",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: Unix",
"Operating System :: POSIX",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Topic :: Utilities",
],
description=("Command line tool, that converts Common Cartridge " "courses to Open edX Studio imports."),
entry_points={"console_scripts": ["cc2olx=cc2olx.main:main"]},
install_requires=load_requirements("requirements/base.in"),
license="GNU Affero General Public License",
long_description=readme,
include_package_data=True,
keywords="cc2olx",
name="cc2olx",
package_dir={"": "src"},
packages=find_packages("src"),
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
setup_requires=[],
test_suite="tests",
tests_require=[],
url="https://github.com/openedx/cc2olx",
version=VERSION,
zip_safe=False,
)