diff --git a/.gitignore b/.gitignore index 5d6bb89..f80fd60 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,11 @@ *.pyc .cache/ build/ +deb_dist/ dist/ tmp/ .pypirc /.env /.coverage /htmlcov +/toot-*.tar.gz diff --git a/Makefile b/Makefile index 10504c4..115cdeb 100644 --- a/Makefile +++ b/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 diff --git a/requirements-dev.txt b/requirements-dev.txt index 6e0deda..330763d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -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 diff --git a/setup.py b/setup.py index cab0ddd..2e8a804 100644 --- a/setup.py +++ b/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', diff --git a/stdeb.cfg b/stdeb.cfg new file mode 100644 index 0000000..4c7c92f --- /dev/null +++ b/stdeb.cfg @@ -0,0 +1,3 @@ +[DEFAULT] +X-Python3-Version: >= 3.3 +Copyright-File: LICENSE