forked from PnX-SI/TaxHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (27 loc) · 1012 Bytes
/
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
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.rst').open() as f:
long_description = f.read()
with (root_dir / 'requirements.in').open() as f:
requirements = f.read().splitlines()
setuptools.setup(
name='taxhub',
description='Application web de gestion centralisée des taxons basée sur le référentiel TAXREF',
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/TaxHub',
version=version,
packages=setuptools.find_packages(where='.', include=['apptax*']),
package_data={'apptax.migrations': ['data/*.sql']},
install_requires=requirements,
entry_points={
'alembic': [
'migrations = apptax.migrations:versions',
],
},
)