File: setup.py

package info (click to toggle)
python-psycogreen 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 128 kB
  • ctags: 27
  • sloc: python: 145; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 878 bytes parent folder | download
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
#!/usr/bin/env python
"""
psycogreen -- setup script
"""

# Copyright (C) 2010-2012 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
Topic :: Database
"""

kwargs = {}
try:
    kwargs['long_description'] = open('README.rst').read()
except:
    pass

setup(
    name = 'psycogreen',
    description = 'psycopg2 integration with coroutine libraries',
    author = 'Daniele Varrazzo',
    author_email = 'daniele.varrazzo@gmail.com',
    url = 'https://bitbucket.org/dvarrazzo/psycogreen',
    license = 'BSD',
    packages = ['psycogreen'],
    classifiers = [x for x in classifiers.split('\n') if x],
    version = __version__,
    **kwargs)