|
| 1 | +import io |
| 2 | +import os |
| 3 | +from setuptools import setup, find_packages |
| 4 | + |
| 5 | +here = os.path.abspath(os.path.dirname(__file__)) |
| 6 | + |
| 7 | +with io.open(os.path.join(here, "README.rst"), "rt", encoding="utf8") as f: |
| 8 | + readme = f.read() |
| 9 | + |
| 10 | +about = {} |
| 11 | +with io.open( |
| 12 | + os.path.join(here, "tutorvision", "__about__.py"), |
| 13 | + "rt", |
| 14 | + encoding="utf-8", |
| 15 | +) as f: |
| 16 | + exec(f.read(), about) |
| 17 | + |
| 18 | +setup( |
| 19 | + name="tutor-vision", |
| 20 | + version=about["__version__"], |
| 21 | + url="https://github.com/overhangio/tutor-vision", |
| 22 | + project_urls={ |
| 23 | + "Code": "https://github.com/overhangio/tutor-vision", |
| 24 | + "Issue tracker": "https://github.com/overhangio/tutor-vision/issues", |
| 25 | + }, |
| 26 | + license="AGPLv3", |
| 27 | + author="Overhang.IO", |
| 28 | + description="vision plugin for Tutor", |
| 29 | + long_description=readme, |
| 30 | + packages=find_packages(exclude=["tests*"]), |
| 31 | + include_package_data=True, |
| 32 | + python_requires=">=3.5", |
| 33 | + install_requires=["tutor-openedx"], |
| 34 | + entry_points={ |
| 35 | + "tutor.plugin.v0": [ |
| 36 | + "vision = tutorvision.plugin" |
| 37 | + ] |
| 38 | + }, |
| 39 | + classifiers=[ |
| 40 | + "Development Status :: 3 - Alpha", |
| 41 | + "Intended Audience :: Developers", |
| 42 | + "License :: OSI Approved :: GNU Affero General Public License v3", |
| 43 | + "Operating System :: OS Independent", |
| 44 | + "Programming Language :: Python", |
| 45 | + "Programming Language :: Python :: 3.5", |
| 46 | + "Programming Language :: Python :: 3.6", |
| 47 | + "Programming Language :: Python :: 3.7", |
| 48 | + "Programming Language :: Python :: 3.8", |
| 49 | + "Programming Language :: Python :: 3.9", |
| 50 | + "Programming Language :: Python :: 3.10", |
| 51 | + ], |
| 52 | +) |
0 commit comments