-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
45 lines (42 loc) · 1.53 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
import os
from setuptools import setup, find_packages
_here = os.path.dirname(__file__)
README = open(os.path.join(_here, 'van', 'pg', 'README.txt'), 'r').read()
CHANGES = open(os.path.join(_here, 'CHANGES.txt'), 'r').read()
import platform
psycopg2_dep = 'psycopg2'
if platform.python_implementation() == 'PyPy':
psycopg2_dep = 'psycopg2cffi-compat'
setup(name="van.pg",
version="2.0",
description="Tools to programmatically manage PostgreSQL clusters as Python test fixtures.",
packages=find_packages(),
long_description=README + '\n' + CHANGES,
license='BSD',
author="Brian Sutherland",
author_email='[email protected]',
namespace_packages=["van"],
install_requires=["setuptools",
'testresources',
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
"Topic :: Database",
"Topic :: Software Development :: Testing",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
],
tests_require=[
psycopg2_dep,
'transaction',
],
test_suite='van.pg.tests',
include_package_data=True,
zip_safe=False,
)