Commits

Jonathan Eunice  committed 40b133f

commit pre-clone for setfiles fix

  • Participants
  • Parent commits 7e2c400

Comments (0)

Files changed (2)

 #! /usr/bin/env python
 from setuptools import setup
-from setuptools.command.test import test as TestCommand
 import sys
 
 def verno(s):
     # The double-mention of l.strip() is yet another fine example of why
     # Python needs en passant aliasing.
 
-class Tox(TestCommand):
-    def finalize_options(self):
-        TestCommand.finalize_options(self)
-        self.test_args = []
-        self.test_suite = True
-    def run_tests(self):
-        #import here, cause outside the eggs aren't loaded
-        import tox
-        errno = tox.cmdline(self.test_args)
-        sys.exit(errno)
-
 setup(
     name='say',
-    version=verno("0.412"),
+    version=verno("0.416"),
     author='Jonathan Eunice',
     author_email='jonathan.eunice@gmail.com',
     description='Simple printing with templates. E.g.: say("Hello, {whoever}!", indent=1)',
     long_description=open('README.rst').read(),
     url='https://bitbucket.org/jeunice/say',
     py_modules=['say'],
-    install_requires=['six','options','otherstuf'],
+    install_requires=['six','options>=0.200', 'otherstuf>=0.65'],
     tests_require = ['tox', 'pytest'],
-    cmdclass = {'test': Tox},
     zip_safe = True,
     keywords='print format template say',
     classifiers=linelist("""
 [testenv]
 changedir=test
 deps=pytest       # install pytest in the venvs
-commands=py.test
+commands=py.test {posargs}