1
0
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:
Ivan Habunek 2017-08-26 15:56:41 +02:00
parent e4c3a85045
commit 0ed906268c
5 changed files with 15 additions and 2 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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',

3
stdeb.cfg Normal file
View File

@ -0,0 +1,3 @@
[DEFAULT]
X-Python3-Version: >= 3.3
Copyright-File: LICENSE