forked from appnexus/schema-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (25 loc) · 764 Bytes
/
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
from setuptools import setup, find_packages
# from subprocess import Popen, PIPE
# import sys
# def call_git_describe(abbrev=0):
# try:
# p = Popen(['git', 'describe', '--abbrev=%d' % abbrev],
# stdout=PIPE, stderr=PIPE)
# p.stderr.close()
# line = p.stdout.readlines()[0]
# return line.strip()
# except:
# print 'Cannot get version.'
# sys.exit(1)
setup(
name='schema-tool',
author='AppNexus',
author_email='[email protected]',
url='http://appnexus.com',
description='A schema tool to manage alters and migrations.',
version='0.2.18',
packages=find_packages(),
entry_points = {
'console_scripts': ['schema=schematool.schema:main'],
}
)