-
Notifications
You must be signed in to change notification settings - Fork 119
/
setup.py
59 lines (54 loc) · 1.69 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
# coding: utf-8
import os
import re
from setuptools import setup, find_packages
# https://bitbucket.org/zzzeek/alembic/raw/f38eaad4a80d7e3d893c3044162971971ae0
# 09bf/setup.py
with open(
os.path.join(os.path.dirname(__file__), 'stellar', 'app.py')
) as app_file:
VERSION = re.compile(
r".*__version__ = '(.*?)'", re.S
).match(app_file.read()).group(1)
with open("README.md") as readme:
long_description = readme.read()
setup(
name='stellar',
description=(
'stellar is a tool for creating and restoring database snapshots'
),
long_description=long_description,
version=VERSION,
url='https://github.com/fastmonkeys/stellar',
license='BSD',
author=u'Teemu Kokkonen, Pekka Pöyry',
author_email='[email protected], [email protected]',
packages=find_packages('.', exclude=['examples*', 'test*']),
entry_points={
'console_scripts': [ 'stellar = stellar.command:main' ],
},
zip_safe=False,
include_package_data=True,
platforms='any',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Utilities',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Database',
'Topic :: Software Development :: Version Control',
],
install_requires = [
'PyYAML>=3.11',
'SQLAlchemy>=0.9.6',
'humanize>=0.5.1',
'schema>=0.3.1',
'click>=3.1',
'SQLAlchemy-Utils>=0.26.11',
'psutil>=2.1.1',
]
)