forked from PnX-SI/GeoNature
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (53 loc) · 1.69 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
import setuptools
from pathlib import Path
root_dir = Path(__file__).absolute().parent
with (root_dir / "VERSION").open() as f:
version = f.read().strip()
with (root_dir / "README.md").open() as f:
long_description = f.read()
setuptools.setup(
name="geonature",
description="Application de saisie et de synthèse des observations faune et flore",
long_description=long_description,
long_description_content_type="text/markdown",
maintainer="Parcs nationaux des Écrins et des Cévennes",
maintainer_email="[email protected]",
url="https://github.com/PnX-SI/GeoNature/",
python_requires=">=3.7",
version=version,
packages=setuptools.find_packages(where="backend", include=["geonature*"]),
package_dir={
"": "backend",
},
package_data={
"geonature": ["**/templates/**/*.html"],
"geonature.tests": ["data/*.sql"],
"geonature.migrations": ["alembic.ini", "script.py.mako", "data/**/*.sql"],
},
install_requires=list(open("backend/requirements-common.in", "r"))
+ list(open("backend/requirements-dependencies.in", "r")),
extras_require={
"tests": [
"pytest",
"pytest-flask",
"pytest-cov",
"jsonschema",
],
"doc": [
"sphinx",
"sphinx_rtd_theme",
"sphinxcontrib-httpdomain",
"sphinxcontrib-websupport",
],
},
classifiers=[
"Framework :: Flask",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
],
entry_points={
"console_scripts": [
"geonature = geonature.core.command:main",
],
},
)