mirror of
https://github.com/romanz/amodem.git
synced 2026-02-07 01:18:02 +08:00
v1.2
This commit is contained in:
7
setup.py
7
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=[
|
||||
|
||||
Reference in New Issue
Block a user