-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
60 lines (54 loc) · 2.03 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
58
59
60
from setuptools import find_packages, setup
def parse_requirements(filename):
with open(filename) as f:
lineiter = (line.split('#')[0].strip() for line in f)
return [
line.replace(' \\', '').strip()
for line in lineiter
if (
line and
not line.startswith("#") and
not line.startswith("-e") and
not line.startswith("--")
)
]
with open('README.md', 'rb') as f:
LONG_DESCRIPTION = f.read().decode('utf-8')
setup(
name='sqlalchemy-postgresql-audit',
version='0.5.2',
description='A postgres audit table implementation that works with sqlalchemy and alembic',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author='Hunter Senft-Grupp',
author_email='[email protected]',
url='https://github.com/huntcsg/sqlalchemy-postgresql-audit',
license='MIT',
keywords='sqlalchemy sql postgresql postgres alembic audit changelog',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
packages=find_packages('src'),
package_dir={'': 'src'},
zip_safe=False,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
install_requires=parse_requirements('deps/requirements.in'),
extras_require={
'dev': parse_requirements('deps/dev-requirements.in'),
'testing': parse_requirements('deps/testing-requirements.in'),
'docs': parse_requirements('deps/docs-requirements.in'),
'linting': parse_requirements('deps/linting-requirements.in'),
},
entry_points={
'sqlalchemy.plugins': [
'audit = sqlalchemy_postgresql_audit.plugin:AuditPlugin'
]
},
)