forked from ucbds-infra/otter-grader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (41 loc) · 1.23 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
# get version
env = {}
with open("otter/version.py") as f:
exec(f.read(), env)
version = env["__version__"]
# get requirements
with open("requirements.txt") as f:
install_requires = f.readlines()
setuptools.setup(
name = "otter-grader",
version = version,
author = "Christopher Pyles",
author_email = "[email protected]",
description = "Python and Jupyter Notebook autograder",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/ucbds-infra/otter-grader",
license = "BSD-3-Clause",
packages = setuptools.find_packages(exclude=["test"]),
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
install_requires=install_requires,
# scripts=["bin/otter"],
entry_points = {
"console_scripts": [
"otter=otter.cli:cli",
"gmail_oauth2=otter.plugins.builtin.gmail_notifications.bin.gmail_oauth2:main",
],
},
package_data={
"otter.export.exporters": ["templates/*", "templates/*/*"],
"otter.generate": ["templates/*", "templates/*/*"],
"otter.grade": ["Dockerfile"],
},
)