-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
78 lines (75 loc) · 2.15 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
66
67
68
69
70
71
72
73
74
75
76
77
78
import setuptools
with open("README.md") as fh:
long_description = fh.read()
# Parse version from _version.py in package directory
# See https://packaging.python.org/guides/single-sourcing-package-version/#single-sourcing-the-version
version = {}
with open("src/alfred3/_version.py") as f:
exec(f.read(), version)
setuptools.setup(
name="alfred3",
version=version["__version__"],
author="Christian Treffenstädt, Johannes Brachem, Paul Wiemann",
author_email="[email protected]",
description=(
"A library for rapid development of dynamic and interactive online experiments"
" in the social sciences."
),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ctreffe/alfred",
packages=setuptools.find_packages("src"),
package_data={
"alfred3": [
"files/*",
"static/css/*",
"static/img/*",
"static/js/*",
"templates/*",
"element/templates/*",
"element/templates/html/*",
"element/templates/js/*",
]
},
package_dir={"": "src"},
install_requires=[
"pymongo>=3.10",
"cryptography>=3.4",
"jinja2>=2.11",
"Flask>=1.1",
"thesmuggler>=1.0",
"Click>=7.1",
"emoji>=1.2,<=1.6.3",
"cmarkgfm>=0.5",
"requests>=2.25",
"bleach>=3.3",
"pyyaml>=6.0",
],
extras_require={
"dev": [
"pytest",
"pre-commit",
"black",
"flake8",
"python-dotenv",
"bs4",
"selenium",
"mongomock<4.2",
"sphinx==4.5.0",
"sphinx-book-theme==0.3.2",
"sphinx-remove-toctrees==0.0.3",
"sphinx-copybutton==0.5.0",
"recommonmark",
]
},
entry_points="""
[console_scripts]
alfred3=alfred3.cli:cli
""",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)