Permalink
Browse files

- Normal "setup.py test" can't support running the venusian tests und…

…er py

  2.4 or 2.5; when it scans the 'classdecorators' fixture, it barfs.  To get
  around this, we used to depend on ``nose`` in ``setup_requires`` and tell
  "setup.py test" to use nose by setting test_suite to "nose.collector" but
  we can't anymore because folks use Venusian in systems which install from
  pip bundles; pip bundles do not support setup_requires.  So, sorry, we're
  painted into a corner; at this point you just have to know to install nose
  and run "setup.py nosetests" rather than "setup.py test".  Or just run
  "tox" which tests it under all Pythons.

- Prep for 0.8.
  • Loading branch information...
1 parent c2a2626 commit 273e106394d50fbf8c193688ccb8d1f621304a3e @mcdonc mcdonc committed May 1, 2011
Showing with 23 additions and 8 deletions.
  1. +13 −0 CHANGES.txt
  2. +1 −1 docs/conf.py
  3. +7 −5 setup.py
  4. +2 −2 tox.ini
View
@@ -1,6 +1,19 @@
Change Log
==========
+0.8 (2011-04-30)
+----------------
+
+- Normal "setup.py test" can't support running the venusian tests under py
+ 2.4 or 2.5; when it scans the 'classdecorators' fixture, it barfs. To get
+ around this, we used to depend on ``nose`` in ``setup_requires`` and tell
+ "setup.py test" to use nose by setting test_suite to "nose.collector" but
+ we can't anymore because folks use Venusian in systems which install from
+ pip bundles; pip bundles do not support setup_requires. So, sorry, we're
+ painted into a corner; at this point you just have to know to install nose
+ and run "setup.py nosetests" rather than "setup.py test". Or just run
+ "tox" which tests it under all Pythons.
+
0.7 (2011-03-16)
----------------
View
@@ -50,7 +50,7 @@
# other places throughout the built documents.
#
# The short X.Y version.
-version = '0.7'
+version = '0.8'
# The full version, including alpha/beta/rc tags.
release = version
View
@@ -12,7 +12,7 @@
#
##############################################################################
-__version__ = '0.7'
+__version__ = '0.8'
import os
@@ -48,12 +48,14 @@
include_package_data=True,
zip_safe=False,
tests_require = requires,
- setup_requires = 'nose',
install_requires = requires,
- # Normal unittest can't support running the venusian tests under
+ # Normal "setup.py test" can't support running the venusian tests under
# py 2.4 or 2.5; when it scans the 'classdecorators' fixture, it
- # barfs. We use nose.collector as a workaround.
- test_suite="nose.collector",
+ # barfs. We can't depend on nose in setup_requires here because folks use
+ # this under "pip bundle" which does not support setup_requires.
+ # So you just have to know to install nose and run "setup.py nosetests"
+ # rather than setup.py test.
+ test_suite='venusian',
entry_points = """\
"""
)
View
@@ -4,13 +4,13 @@ envlist =
[testenv]
commands =
- python setup.py test -q
+ python setup.py nosetests
deps =
nose
[testenv:jython]
commands =
- jython setup.py test -q
+ jython setup.py nosetests
[testenv:cover]
basepython =

0 comments on commit 273e106

Please sign in to comment.