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