-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
58 lines (50 loc) · 1.6 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
name = 'newt.db'
version = '0.9.1.dev0'
install_requires = [
'ZODB <5.4',
'setuptools',
'RelStorage[postgresql] >=2, <=2.1.1',
'six']
extras_require = dict(test=['manuel', 'mock', 'zope.testing', 'zc.zlibstorage'])
entry_points = """
[console_scripts]
newt-updater = newt.db.updater:main
[zodburi.resolvers]
newt = newt.db.zodburi:resolve_uri
"""
from setuptools import setup
long_description = open('README.rst').read() + '\n' + open('CHANGES.rst').read()
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3.7
Programming Language :: Python :: Implementation :: PyPy
Topic :: Database
Topic :: Software Development :: Libraries :: Python Modules
Operating System :: Microsoft :: Windows
Operating System :: Unix
Framework :: ZODB
""".strip().split('\n')
setup(
author = 'Jim Fulton',
author_email = '[email protected]',
license = 'MIT',
url = 'http://www.newtdb.org/',
name = name,
version = version,
long_description = long_description,
description = long_description.strip().split('\n')[1],
packages = [name.split('.')[0], name],
namespace_packages = [name.split('.')[0]],
package_dir = {'': 'src'},
install_requires = install_requires,
keywords="database nosql python postgresql postgres",
zip_safe = False,
entry_points=entry_points,
package_data = {name: ['*.txt', '*.test', '*.html']},
extras_require = extras_require,
tests_require = extras_require['test'],
classifiers = classifiers,
include_package_data = True,
)