Skip to content
Snippets Groups Projects
Select Git revision
  • a7ddaadf391153235681549b49cd01b95cc36550
  • master default protected
  • upstream/backport/20220103
  • feature/load_slices
  • v3.4.1 protected
  • v3.4.0 protected
6 results

setup.py

Blame
  • setup.py 1.51 KiB
    import io
    import os
    from setuptools import setup
    
    here = os.path.abspath(os.path.dirname(__file__))
    
    with io.open(os.path.join(here, "README.rst"), "rt", encoding="utf8") as f:
        readme = f.read()
    
    about = {}
    with io.open(os.path.join(here, "tutor", "__about__.py"), "rt", encoding="utf-8") as f:
        exec(f.read(), about)
    
    setup(
        name="tutor-openedx",
        version=about["__version__"],
        url="http://docs.tutor.overhang.io/",
        project_urls={
            "Documentation": "http://docs.tutor.overhang.io/",
            "Code": "https://github.com/regisb/tutor",
            "Issue tracker": "https://github.com/regisb/tutor/issues",
        },
        license="AGPLv3",
        author="Régis Behmo",
        author_email="regis@behmo.com",
        description="The Open edX distribution for the busy system administrator",
        long_description=readme,
        packages=["tutor"],
        include_package_data=True,
        python_requires=">=3.6",
        install_requires=[
            "appdirs",
            "click",
            "click_repl",
            "jinja2",
            "kubernetes",
            "pyyaml"
        ],
        entry_points={
            'console_scripts': [
                'tutor=tutor.cli:main',
            ],
        },
        classifiers=[
            "Development Status :: 5 - Production/Stable",
            "Intended Audience :: Developers",
            "License :: OSI Approved :: GNU Affero General Public License v3",
            "Operating System :: OS Independent",
            "Programming Language :: Python",
            "Programming Language :: Python :: 3.6",
            "Programming Language :: Python :: 3.7",
        ],
    )