From 6bc5608bf596780d5ab279e1dce46e95df14844d Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 10 Oct 2014 11:28:39 +0300 Subject: [PATCH] v1.2 --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e9881d0..9dbed4a 100644 --- a/setup.py +++ b/setup.py @@ -11,17 +11,20 @@ pwd = os.path.dirname(__file__) from setuptools.command.test import test as TestCommand + class PyTest(TestCommand): + def finalize_options(self): self.test_args = [] self.test_suite = True + def run_tests(self): import pytest sys.exit(pytest.main(['tests'])) setup( name="amodem", - version="1.1", + version="1.2", description="Audio Modem Communication Library", author="Roman Zeyde", author_email="roman.zeyde@gmail.com", @@ -29,7 +32,7 @@ setup( url="http://github.com/romanz/amodem", packages=['amodem'], tests_require=['pytest'], - cmdclass = {'test': PyTest}, + cmdclass={'test': PyTest}, install_requires=['numpy', 'bitarray', 'reedsolo'], platforms=['POSIX'], classifiers=[