forked from PnX-SI/gn_module_ZH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.54 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
import setuptools
from pathlib import Path
root_dir = Path(__file__).absolute().parent
with (root_dir / "VERSION").open() as f:
version = f.read()
with (root_dir / "README.md").open() as f:
long_description = f.read()
with (root_dir / "requirements.in").open() as f:
requirements = f.read().splitlines()
setuptools.setup(
name="gn_module_zh",
version=version,
description="gn_module_zh",
long_description=long_description,
long_description_content_type="text/x-rst",
maintainer="Parcs nationaux des Écrins et des Cévennes",
maintainer_email="[email protected]",
url="https://github.com/PnX-SI/GeoNature",
packages=setuptools.find_packages("backend"),
package_dir={"": "backend"},
package_data={"gn_module_zh.migrations": ["data/*.sql"]},
install_requires=requirements,
entry_points={
"gn_module": [
"code = gn_module_zh:MODULE_CODE",
"picto = gn_module_zh:MODULE_PICTO",
"blueprint = gn_module_zh.blueprint:blueprint",
"config_schema = gn_module_zh.conf_schema_toml:GnModuleSchemaConf",
"alembic_branch = gn_module_zh:ALEMBIC_BRANCH",
"migrations = gn_module_zh:migrations",
],
},
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3"
"Operating System :: OS Independent",
],
)