Skip to content
Snippets Groups Projects
setup.py 1.07 KiB
Newer Older
"""Sc@ntr0n build and install configuration."""
import os
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme_file:
    README = readme_file.read()

setup(
    name="canvas-tools",
    description="Command-line tools to use the Canvas API",
    long_description=README,
    version="0.1.0",
    author="Amir Kamil",
    author_email="akamil@umich.edu",
    url="https://gitlab.eecs.umich.edu/akamil/canvas-tools",
    license="FIXME",
    packages=["canvas_tools"],
    keywords=["canvas"],
    install_requires=[
        "click", "requests"
    ],

    # Python command line utilities will be installed in a PATH-accessible bin/
    entry_points={
        'console_scripts': [
            'canvas-get-roster = canvas_tools.get_roster:main',
            'canvas-get-comments = canvas_tools.get_comments:main',
            'canvas-list-courses = canvas_tools.list_courses:main',
            'canvas-list-assignments = canvas_tools.list_assignments:main',