-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (46 loc) · 1.28 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
# Copyright (c) 2018 Marco Giusti
import os.path
from setuptools import setup
with open('README') as fd:
long_description = fd.read()
with open(os.path.join('src', 'adsdb3.py')) as fp:
glb = {}
for line in fp:
if '__version__' in line:
exec(line, glb)
version = glb['__version__']
break
else:
raise RuntimeError('cannot retrieve version')
setup(
name='adsdb3',
version=version,
description='Python 3 Advantage database interface',
long_description=long_description,
author='Marco Giusti',
author_email='[email protected]',
url='https://github.com/marcogiusti/adsdb3',
license='MIT',
package_dir={'': 'src'},
py_modules=['adsdb3'],
setup_requires=['cffi>=1.0.0'],
cffi_modules=['src/ace_build.py:ffibuilder'],
install_requires=['cffi>=1.0.0'],
extras_require={
'dev': [
'coverage',
'hypothesis',
'pep8',
'pyflakes',
'tox',
'wheel'
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Database'
]
)