-
Notifications
You must be signed in to change notification settings - Fork 29
/
setup.py
executable file
·51 lines (41 loc) · 1.21 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
#!/usr/bin/env python
import sys
from setuptools import setup, Command
import firebirdsql
class TestCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
'''
Finds all the tests modules in tests/, and runs them.
'''
from firebirdsql import tests
import unittest
unittest.main(tests, argv=sys.argv[:1])
cmdclass = {'test': TestCommand}
classifiers = [
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Database',
]
setup(
name='firebirdsql',
version=firebirdsql.__version__,
description='Firebird RDBMS bindings for python.',
long_description=open('README.rst').read(),
url='http://github.com/nakagami/pyfirebirdsql/',
classifiers=classifiers,
keywords=['Firebird'],
license='BSD',
author='Hajime Nakagami',
author_email='[email protected]',
packages=['firebirdsql', 'firebirdsql.aio'],
cmdclass=cmdclass,
)