Add debian packaging - toot - Unnamed repository; edit this file 'description' to name the repository.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 0ed906268c22791c11414c8ab2d9232b22329d56
(DIR) parent e4c3a8504599432b65c8e1c21aab644aec3327b1
(HTM) Author: Ivan Habunek <ivan@habunek.com>
Date: Sat, 26 Aug 2017 15:56:41 +0200
Add debian packaging
Diffstat:
.gitignore | 2 ++
Makefile | 5 ++++-
requirements-dev.txt | 1 +
setup.py | 6 +++++-
stdeb.cfg | 3 +++
5 files changed, 15 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/.gitignore b/.gitignore
@@ -2,9 +2,11 @@
*.pyc
.cache/
build/
+deb_dist/
dist/
tmp/
.pypirc
/.env
/.coverage
/htmlcov
+/toot-*.tar.gz
(DIR) diff --git 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
(DIR) diff --git 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
(DIR) diff --git 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',
(DIR) diff --git a/stdeb.cfg b/stdeb.cfg
@@ -0,0 +1,3 @@
+[DEFAULT]
+X-Python3-Version: >= 3.3
+Copyright-File: LICENSE