-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
65 lines (59 loc) · 1.63 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from pathlib import Path
import setuptools
HERE = Path(__file__).resolve().parent
BASE_DEPENDS = [
"click>=8.0",
"pytest>=4.6",
"pytest-cov>=4.1.0",
"requests>=2.0",
"tabulate>=0.8",
"toml>=0.10",
"typing-extensions",
]
WEB_DEPENDS = [
"TurboGears2 >= 2.3.12",
"tgext.admin-jmr",
"decorator",
"google-api-python-client",
"google-auth-oauthlib",
"tw2.forms",
"Beaker >= 1.8.0",
"Kajiki >= 0.6.3",
"filedepot >= 0.6.0",
"zope.sqlalchemy >= 1.2",
"sqlalchemy>=1.3,<1.4",
"alembic>=0.8.8",
"repoze.who",
"WebHelpers2",
"recordclass",
"requests",
]
DEV_DEPENDS = [
"tg.devtools",
]
setuptools.setup(
name="algobowl",
version=(HERE / "VERSION").read_text(encoding="ascii").strip(),
description="Competition-based group project for Algorithms courses",
long_description=(HERE / "README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
author="Jack Rosenthal",
author_email="[email protected]",
url="https://github.com/jackrosenthal/algobowl",
packages=setuptools.find_packages(),
python_requires=">=3.8,<4",
install_requires=BASE_DEPENDS,
extras_require={
"web": WEB_DEPENDS,
"dev": WEB_DEPENDS + DEV_DEPENDS,
},
include_package_data=True,
package_data={"algobowl": ["templates/*/*", "public/*/*"]},
entry_points={
"console_scripts": [
"algobowl = algobowl.cli.__main__:main",
],
"paste.app_factory": ["main = algobowl.config.middleware:make_app"],
"gearbox.plugins": ["turbogears-devtools = tg.devtools"],
},
)