-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
53 lines (49 loc) · 1.71 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
"""PQ is a transactional queue for PostgreSQL."""
import pq
from setuptools import setup, find_packages
from sys import version
def readfile(name):
try:
f = open(name, encoding='utf-8')
except TypeError:
f = open(name)
with f:
return f.read()
setup(
name=pq.__title__,
version=pq.__version__,
license=pq.__license__,
author=pq.__author__,
url='https://github.com/malthe/pq/',
author_email='[email protected]',
description=__doc__,
long_description='\n\n'.join(map(readfile, ('README.rst', 'CHANGES.rst'))),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
platforms='any',
python_requires='>=3.6',
classifiers=[
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
# 'Development Status :: 5 - Production/Stable',
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Systems Administration',
],
tests_require=['psycopg2cffi', 'wheel'],
test_suite='tests'
)