-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
40 lines (35 loc) · 1.02 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
import setuptools
import sys
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt") as f:
install_requires = f.readlines()
# add dataclasses backport for python 3.6
if sys.version_info.minor < 7:
install_requires.append("dataclasses")
# get version
env = {}
with open("pybryt/version.py") as f:
exec(f.read(), env)
version = env["__version__"]
setuptools.setup(
name = "pybryt",
version = version,
author = "Chris Pyles",
author_email = "[email protected]",
description = "Python auto-assessment library",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/microsoft/pybryt",
license = "MIT",
packages = setuptools.find_packages(exclude=["test"]),
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=install_requires,
entry_points={
"console_scripts": ["pybryt=pybryt.cli:cli"]
},
)