2018-01-25 10:09:20 +00:00
|
|
|
default : clean dist
|
|
|
|
|
|
|
|
dist :
|
2019-06-06 07:28:23 +00:00
|
|
|
python setup.py sdist --formats=gztar,zip
|
2019-08-13 10:40:00 +00:00
|
|
|
python setup.py bdist_wheel --python-tag=py3
|
2018-01-25 10:09:20 +00:00
|
|
|
|
|
|
|
clean :
|
|
|
|
find . -name "*pyc" | xargs rm -rf $1
|
2019-02-10 09:46:03 +00:00
|
|
|
rm -rf build dist MANIFEST htmlcov deb_dist twitch-dl*.tar.gz twitch-dl.1.man
|
2018-01-25 10:09:20 +00:00
|
|
|
|
|
|
|
publish :
|
2019-06-06 07:28:23 +00:00
|
|
|
twine upload dist/*.tar.gz dist/*.whl
|
2018-01-25 10:09:20 +00:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
py.test --cov=toot --cov-report html tests/
|
|
|
|
|
|
|
|
deb:
|
|
|
|
@python setup.py --command-packages=stdeb.command bdist_deb
|
2019-02-10 09:46:03 +00:00
|
|
|
|
|
|
|
man:
|
|
|
|
scdoc < twitch-dl.1.scd > twitch-dl.1.man
|