Daniele Varrazzo avatar Daniele Varrazzo committed 02c70d6

Added setup.py

Comments (0)

Files changed (4)

+build/
+dist/
+psycogreen.egg-info/
+include COPYING MANIFEST.in README.rst setup.py
+recursive-include psycogreen *.py
+recursive-include tests *.py
+recursive-include tools *.py
-psycogreen -- integrating psycopg2 with coroutine libraries
+psycogreen -- psycopg2 integration with coroutine libraries
 ===========================================================
 
 The `psycogreen`_ package enables psycopg2 to work with coroutine libraries,
+#!/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 :: 4 - Beta
+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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.