-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
59 lines (46 loc) · 1.75 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
#!/usr/bin/env python
"""Set up the NuoDB Python Driver package.
(C) Copyright 2013-2023 Dassault Systemes SE. All Rights Reserved.
This software is licensed under a BSD 3-Clause License.
See the LICENSE file provided with this software.
This package can be installed using pip as follows:
pip install pynuodb
To install with cryptography:
pip install 'pynuodb[crypto]'
Note cryptography improves performance, but sessions are encrypted even if it
is not intalled.
"""
import os
import re
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'pynuodb', '__init__.py')) as v:
VERSION = re.compile(r"^ *__version__ *= *'(.*?)'", re.M).search(v.read()).group(1)
readme = os.path.join(os.path.dirname(__file__), 'README.rst')
setup(
name='pynuodb',
version=VERSION,
author='NuoDB',
author_email='[email protected]',
description='NuoDB Python driver',
keywords='nuodb scalable cloud database',
packages=['pynuodb'],
url='https://github.com/nuodb/nuodb-python',
license='BSD License',
long_description=open(readme).read(),
install_requires=['pytz>=2015.4', 'ipaddress'],
extras_require=dict(crypto='cryptography>=2.6.1'),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: SQL',
'Topic :: Database :: Front-Ends',
],
)