forked from nakagami/pyfirebirdsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·54 lines (44 loc) · 1.27 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
#!/usr/bin/env python
import sys
try:
from setuptools.core import setup, Command
except ImportError:
from distutils.core 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'],
cmdclass=cmdclass,
)