-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
55 lines (48 loc) · 1.7 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
"""Setuptools entry point."""
import codecs
from os.path import abspath, dirname, join
from setuptools import setup
long_description = []
install_requires = ['alembic']
tests_require = [
"mock==1.0.1",
"pylama==6.3.1",
"pytest==2.7.0",
"pytest-mock==0.4.3",
]
for text_file in ['README.rst', 'CHANGES.rst']:
with codecs.open(join(dirname(abspath(__file__)), text_file), encoding='utf-8') as f:
long_description.append(f.read())
setup(
name="alembic-offline",
description="Offline extensions for Alembic database migration framework for SQLAlchemy",
long_description='\n'.join(long_description),
author="Anatoly Bubenkov, Paylogic International and others",
license="MIT license",
author_email="developers@paylogic.com",
url="https://github.com/paylogic/alembic-offline",
version="2.0.0",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
packages=["alembic_offline"],
install_requires=install_requires,
entry_points="""
[console_scripts]
alembic-offline = alembic_offline.script:main
""",
tests_require=tests_require,
extras_require=dict(test=tests_require)
)