-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·57 lines (51 loc) · 1.66 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
#!/usr/bin/env python
"""
``chrononaut``
------------
``chrononaut`` is a simple history mixin for SQLAlchemy models,
adding support for audit logging, record locking, and time travel!
"""
from setuptools import setup, find_packages
import sys
__version__ = "0.5.0"
if sys.version_info[0] < 3:
sys.stderr.write("Requires Python 3 or up\n")
sys.exit(1)
setup(
name="chrononaut",
version=__version__, # noqa
packages=find_packages(exclude=["*test*"]),
install_requires=[
"Flask>=2.1.0",
"Flask-SQLAlchemy>=2.5.1",
"SQLAlchemy>=1.4.0",
],
extras_require={"user_info": ["Flask-Login>=0.4.0"]},
include_package_data=True,
zip_safe=False,
dependency_links=[],
author="Nick Greenfield",
author_email="[email protected]",
long_description=__doc__,
long_description_content_type="text/markdown",
license="MIT License",
keywords="Chrononaut",
url="https://github.com/onecodex/chrononaut",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
"Framework :: Flask",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
test_suite="tests",
setup_requires=["pytest-runner"],
tests_require=["pytest", "Flask-Security-Fork"],
)