-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (46 loc) · 1.46 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
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_interact/_version.py") as f:
exec(f.read(), version)
setuptools.setup(
name="alfred3_interact",
version=version["__version__"],
author="Johannes Brachem, Christian Treffenstädt",
author_email="[email protected]",
description="Components for interactive experiments in the alfred3 framework.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jobrachem/alfred3-interact",
packages=setuptools.find_packages("src"),
package_data={
"alfred3_interact": [
"templates/html/*",
"templates/js/*",
]
},
package_dir={"": "src"},
install_requires=["alfred3>=2.0", "bleach>=3.2.1", "packaging"],
extras_require={
"dev": [
"pytest",
"pre-commit",
"black",
"flake8",
"python-dotenv",
"mongomock",
"bs4",
"selenium",
"pytest-cov",
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)