-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
68 lines (63 loc) · 1.98 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
60
61
62
63
64
65
66
67
68
from setuptools import find_packages
from setuptools import setup
import os.path
def read(*path):
return open(os.path.join(*path)).read() + '\n\n'
tests_require = [
'gocept.testing',
'mock',
'psycopg2',
'PyMySQL',
]
setup(
name='gocept.testdb',
version='6.1.dev0',
author='gocept <mail at gocept dot com>',
author_email='[email protected]',
description='Creates and drops temporary databases for testing purposes.',
long_description=(
read('README.rst') +
read('COPYRIGHT.rst') +
'.. contents:: :depth: 1\n\n' +
read('src', 'gocept', 'testdb', 'README.rst') +
read('HACKING.rst') +
read('CHANGES.rst')
),
url='https://github.com/gocept/gocept.testdb',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
license='ZPL 2.1',
namespace_packages=['gocept'],
python_requires='>=3.7',
install_requires=[
'setuptools',
'SQLAlchemy >= 1.2, < 3',
],
extras_require=dict(
test=tests_require),
entry_points="""\
[console_scripts]
drop-all = gocept.testdb.cmdline:drop_all_entry_point
""",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved",
"License :: OSI Approved :: Zope Public License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Database",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
)