Permalink
Browse files

Add change log, tox.ini and refine metadata.

  • Loading branch information...
1 parent 8aee664 commit 28366b7634126226c1e0f0f10604cbf3e3223bc0 @jinty committed May 13, 2012
Showing with 35 additions and 4 deletions.
  1. +2 −0 .gitignore
  2. +11 −0 CHANGES.txt
  3. +7 −4 setup.py
  4. +15 −0 tox.ini
View
@@ -1,3 +1,5 @@
dist
*.egg-info
*.egg
+htmlcov
+.coverage
View
@@ -0,0 +1,11 @@
+CHANGES
+=======
+
+2.0 (unreleased)
+----------------
+
+* Support Python 3.2.
+
+* Drop Python 2.5 support.
+
+* Add tox.ini for testing against multiple python versions.
View
@@ -3,12 +3,13 @@
_here = os.path.dirname(__file__)
README = open(os.path.join(_here, 'van', 'pg', 'README.txt'), 'r').read()
+CHANGES = open(os.path.join(_here, 'CHANGES.txt'), 'r').read()
setup(name="van.pg",
- version="1.4",
+ version="2.0",
description="Tools to programmatically manage PostgreSQL clusters as Python test fixtures.",
packages=find_packages(),
- long_description=README,
+ long_description=README + '\n' + CHANGES,
license='BSD',
author="Brian Sutherland",
author_email='brian@vanguardistas.net',
@@ -17,15 +18,17 @@
'testresources',
],
classifiers=[
- "Development Status :: 4 - Beta",
+ "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
"Topic :: Database",
"Topic :: Software Development :: Testing",
- "Programming Language :: Python :: 2.5",
+ "Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.2",
],
tests_require=[
'psycopg2',
View
15 tox.ini
@@ -0,0 +1,15 @@
+[tox]
+envlist = py26,py27,py32,coverage
+
+[testenv]
+commands = python setup.py test
+deps =
+ van.pg
+ /Users/jinty/src/py3_without_distribute
+
+[testenv:coverage]
+basepython = python2.7
+commands = coverage run --source van.pg --omit van/pg/tests/ setup.py test -q
+deps =
+ van.pg
+ coverage

0 comments on commit 28366b7

Please sign in to comment.