-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
55 lines (51 loc) · 1.65 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
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="utils-flask-sqlalchemy",
version=version,
description="Python lib of tools for Flask and SQLAlchemy",
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/Utils-Flask-SQLAlchemy",
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
install_requires=requirements,
extras_require={
"tests": [
"pytest",
"geoalchemy2",
"shapely",
"jsonschema",
"flask-marshmallow",
"marshmallow-sqlalchemy",
],
},
entry_points={
"alembic": [
"migrations = utils_flask_sqla.migrations:versions",
],
"pytest11": [
"sqla = utils_flask_sqla.tests.plugin",
],
"flask.commands": [
"db = utils_flask_sqla.commands:db_cli",
],
},
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",
],
)