-
Notifications
You must be signed in to change notification settings - Fork 67
/
setup.py
66 lines (56 loc) · 1.97 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
61
62
63
64
65
66
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Pyrseas - Utilities to assist with database schema versioning.
"""
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name='Pyrseas',
version='0.10.0',
packages=['pyrseas', 'pyrseas.dbobject', 'pyrseas.lib', 'pyrseas.augment',
],
package_data={'pyrseas': ['config.yaml']},
entry_points={
'console_scripts': [
'dbtoyaml = pyrseas.dbtoyaml:main',
'yamltodb = pyrseas.yamltodb:main',
'dbaugment = pyrseas.dbaugment:main']},
install_requires=[
'psycopg >= 3.1',
'PyYAML >= 5.3'],
tests_require=['pytest'],
cmdclass={'test': PyTest},
author='Joe Abbate',
author_email='[email protected]',
description='Utilities to assist in database schema versioning',
long_description=open('README.rst').read(),
url='https://perseas.github.io/',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: SQL',
'Topic :: Database :: Front-Ends',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Version Control'],
platforms='OS-independent',
license='BSD')