-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
51 lines (47 loc) · 1.34 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
import os.path as osp
from setuptools import setup, find_packages
cdir = osp.abspath(osp.dirname(__file__))
README = open(osp.join(cdir, 'readme.rst')).read()
CHANGELOG = open(osp.join(cdir, 'changelog.rst')).read()
version_fpath = osp.join(cdir, 'worek', 'version.py')
version_globals = {}
with open(version_fpath) as fo:
exec(fo.read(), version_globals)
setup(
name="worek",
version=version_globals['VERSION'],
description=("Database Backup Command Line Utility"),
long_description='\n\n'.join((README, CHANGELOG)),
author="Nick Zaccardi",
author_email="[email protected]",
url='https://github.com/level12/worek',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
],
license='BSD',
packages=find_packages(),
zip_safe=False,
include_package_data=True,
install_requires=[
'sqlalchemy',
'click',
'psycopg2-binary',
],
extras_require={
'ci': [
'pytest',
'pytest-cov',
'flake8',
'check-manifest',
'docutils',
]
},
entry_points='''
[console_scripts]
worek=worek.cli:cli
'''
)