nose tests for both py2 and py3
This commit is contained in:
parent
c9bc0e9955
commit
a14771797c
3 changed files with 10 additions and 6 deletions
|
@ -47,3 +47,8 @@ The encoding part is delegated to `ffmpeg`, but the code is really modular so
|
||||||
changing this is a breeze. To be quicker and avoid the quality issues related
|
changing this is a breeze. To be quicker and avoid the quality issues related
|
||||||
to reencoding, the codec "copy" is used: this means that input and output must
|
to reencoding, the codec "copy" is used: this means that input and output must
|
||||||
have the same format.
|
have the same format.
|
||||||
|
|
||||||
|
testing
|
||||||
|
-----------
|
||||||
|
|
||||||
|
unit tests can be run with `python setup.py test`
|
||||||
|
|
|
@ -2,7 +2,7 @@ from datetime import datetime, timedelta
|
||||||
|
|
||||||
from nose.tools import raises, eq_
|
from nose.tools import raises, eq_
|
||||||
|
|
||||||
from forge import get_files_and_intervals, get_timefile_exact, round_timefile,\
|
from .forge import get_files_and_intervals, get_timefile_exact, round_timefile,\
|
||||||
get_timefile, mp3_join
|
get_timefile, mp3_join
|
||||||
from .config_manager import get_config
|
from .config_manager import get_config
|
||||||
|
|
||||||
|
|
9
setup.py
9
setup.py
|
@ -13,14 +13,13 @@ setup(
|
||||||
author_email="piuttosto@logorroici.org",
|
author_email="piuttosto@logorroici.org",
|
||||||
packages=["techrec"],
|
packages=["techrec"],
|
||||||
package_dir={"techrec": "server"},
|
package_dir={"techrec": "server"},
|
||||||
install_requires=[
|
install_requires=["Paste~=3.2", "SQLAlchemy==0.8.3", "bottle~=0.12"],
|
||||||
"Paste~=3.2",
|
|
||||||
"SQLAlchemy==0.8.3",
|
|
||||||
"bottle~=0.12",
|
|
||||||
],
|
|
||||||
classifiers=["Programming Language :: Python :: 2.7"],
|
classifiers=["Programming Language :: Python :: 2.7"],
|
||||||
entry_points={"console_scripts": ["techrec = techrec.cli:main"]},
|
entry_points={"console_scripts": ["techrec = techrec.cli:main"]},
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
install_package_data=True,
|
install_package_data=True,
|
||||||
package_data={"techrec": ["static/**/*", "pages/*.html"]},
|
package_data={"techrec": ["static/**/*", "pages/*.html"]},
|
||||||
|
test_suite="nose.collector",
|
||||||
|
setup_requires=["nose>=1.0"],
|
||||||
|
tests_requires=["nose>=1.0"],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue