-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
43 lines (36 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
#!/usr/bin/env python
"""
psycogreen -- setup script
"""
# Copyright (C) 2010-2020 Daniele Varrazzo <daniele.varrazzo@gmail.com>
from setuptools import setup
from psycogreen import __version__
classifiers = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 2
Programming Language :: Python :: 3
Topic :: Database
"""
kwargs = {}
try:
kwargs['long_description'] = open('README.rst').read()
except Exception:
pass
setup(
name='psycogreen',
description='psycopg2 integration with coroutine libraries',
author='Daniele Varrazzo',
author_email='daniele.varrazzo@gmail.com',
url='https://github.com/psycopg/psycogreen/',
license='BSD',
packages=['psycogreen'],
classifiers=[x for x in classifiers.split('\n') if x],
version=__version__,
project_urls={
'Funding': 'https://github.com/sponsors/dvarrazzo',
'Bug tracker': 'https://github.com/psycopg/psycogreen/issues',
},
**kwargs
)