mirror of
https://github.com/ihabunek/toot
synced 2025-01-18 04:16:16 +01:00
Add debian packaging
This commit is contained in:
parent
e4c3a85045
commit
0ed906268c
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,9 +2,11 @@
|
||||
*.pyc
|
||||
.cache/
|
||||
build/
|
||||
deb_dist/
|
||||
dist/
|
||||
tmp/
|
||||
.pypirc
|
||||
/.env
|
||||
/.coverage
|
||||
/htmlcov
|
||||
/toot-*.tar.gz
|
||||
|
5
Makefile
5
Makefile
@ -13,10 +13,13 @@ dist :
|
||||
|
||||
clean :
|
||||
find . -name "*pyc" | xargs rm -rf $1
|
||||
rm -rf build dist *.egg-info MANIFEST htmlcov
|
||||
rm -rf build dist *.egg-info MANIFEST htmlcov deb_dist
|
||||
|
||||
publish :
|
||||
twine upload dist/*
|
||||
|
||||
coverage:
|
||||
py.test --cov=toot --cov-report html tests/
|
||||
|
||||
deb:
|
||||
@python setup.py --command-packages=stdeb.command bdist_deb
|
||||
|
@ -1,4 +1,5 @@
|
||||
pytest-cov~=2.4.0
|
||||
pytest~=3.0.0
|
||||
stdeb~=0.8.5
|
||||
twine~=1.8.1
|
||||
wheel~=0.29.0
|
||||
|
6
setup.py
6
setup.py
@ -30,7 +30,11 @@ setup(
|
||||
'Programming Language :: Python :: 3.6',
|
||||
],
|
||||
packages=['toot'],
|
||||
install_requires=install_requires,
|
||||
install_requires=[
|
||||
"requests>=2.13,<3.0",
|
||||
"beautifulsoup4>=4.5.0,<5.0",
|
||||
"future>=0.16",
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'toot=toot.console:main',
|
||||
|
Loading…
Reference in New Issue
Block a user