mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +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
|
from setuptools.command.test import test as TestCommand
|
||||||
|
|
||||||
|
|
||||||
class PyTest(TestCommand):
|
class PyTest(TestCommand):
|
||||||
|
|
||||||
def finalize_options(self):
|
def finalize_options(self):
|
||||||
self.test_args = []
|
self.test_args = []
|
||||||
self.test_suite = True
|
self.test_suite = True
|
||||||
|
|
||||||
def run_tests(self):
|
def run_tests(self):
|
||||||
import pytest
|
import pytest
|
||||||
sys.exit(pytest.main(['tests']))
|
sys.exit(pytest.main(['tests']))
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="amodem",
|
name="amodem",
|
||||||
version="1.1",
|
version="1.2",
|
||||||
description="Audio Modem Communication Library",
|
description="Audio Modem Communication Library",
|
||||||
author="Roman Zeyde",
|
author="Roman Zeyde",
|
||||||
author_email="roman.zeyde@gmail.com",
|
author_email="roman.zeyde@gmail.com",
|
||||||
@@ -29,7 +32,7 @@ setup(
|
|||||||
url="http://github.com/romanz/amodem",
|
url="http://github.com/romanz/amodem",
|
||||||
packages=['amodem'],
|
packages=['amodem'],
|
||||||
tests_require=['pytest'],
|
tests_require=['pytest'],
|
||||||
cmdclass = {'test': PyTest},
|
cmdclass={'test': PyTest},
|
||||||
install_requires=['numpy', 'bitarray', 'reedsolo'],
|
install_requires=['numpy', 'bitarray', 'reedsolo'],
|
||||||
platforms=['POSIX'],
|
platforms=['POSIX'],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|||||||
Reference in New Issue
Block a user