-
Notifications
You must be signed in to change notification settings - Fork 35
/
setup.py
executable file
·43 lines (37 loc) · 1.04 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
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Basic dependencies
install_requires = [
"pg8000",
"port-for>=0.4",
"six>=1.9.0",
"psutil",
"packaging"
]
# Add compatibility enum class
if sys.version_info < (3, 4):
install_requires.append("enum34")
# Add compatibility ipaddress module
if sys.version_info < (3, 3):
install_requires.append("ipaddress")
# Get contents of README file
with open('README.md', 'r') as f:
readme = f.read()
setup(
version='1.10.3',
name='testgres',
packages=['testgres', 'testgres.operations', 'testgres.helpers'],
description='Testing utility for PostgreSQL and its extensions',
url='https://github.com/postgrespro/testgres',
long_description=readme,
long_description_content_type='text/markdown',
license='PostgreSQL',
author='Postgres Professional',
author_email='[email protected]',
keywords=['test', 'testing', 'postgresql'],
install_requires=install_requires,
classifiers=[],
)