aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahiel@protonmail.ch>2016-01-18 18:56:19 +0100
committerRahiel Kasim <rahiel@protonmail.ch>2016-01-18 18:56:19 +0100
commit3504a1f00ab79b48a1598a03a81dcf93a120ddc4 (patch)
treeca6d669702542d9f9e53b794e8d6f7f2f2ad3d6d
parentd22b10589d6818c891266d049779af5d42c54757 (diff)
enable pypi package signing, fix some lintian errors
-rw-r--r--firectl.py2
-rwxr-xr-xrelease/make-deb.bash4
-rw-r--r--setup.py1
-rwxr-xr-xupdate-pypi.bash2
4 files changed, 6 insertions, 3 deletions
diff --git a/firectl.py b/firectl.py
index b7285a4..5ef2773 100644
--- a/firectl.py
+++ b/firectl.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-__version__ = "0.2.5"
+__version__ = "0.2.6"
import os
from difflib import get_close_matches
diff --git a/release/make-deb.bash b/release/make-deb.bash
index a7e4dd7..2dee346 100755
--- a/release/make-deb.bash
+++ b/release/make-deb.bash
@@ -12,8 +12,10 @@ fi
fpm -s python -t deb \
--python-bin python3 --python-pip pip3 \
-n 'firectl' \
- -d 'firejail' \
+ -d 'firejail' -d 'python3' \
-d $click --no-python-dependencies \
+ --python-install-bin '/usr/bin' \
+ --python-install-lib '/usr/lib/python3/dist-packages' \
--after-install 'deb-postinst.sh' \
--deb-interest '/usr/share/applications' \
--before-remove 'deb-prerm.sh' \
diff --git a/setup.py b/setup.py
index 73c88dd..2aa1248 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
from setuptools import setup
import firectl
diff --git a/update-pypi.bash b/update-pypi.bash
index 9410f8d..2919ab5 100755
--- a/update-pypi.bash
+++ b/update-pypi.bash
@@ -6,7 +6,7 @@ python3 -c 'import pypandoc'
rm -rf dist/
python3 setup.py sdist # source distribution
python3 setup.py bdist_wheel # built package
-# gpg --detach-sign -a dist/*
+gpg --detach-sign -a dist/*
read -p "Password: " password
twine upload dist/* -p "$password"