aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2017-01-31 16:30:41 +0100
committerRahiel Kasim <rahielkasim@gmail.com>2017-01-31 16:30:41 +0100
commitb6756dd6cae2adc5c19f4d48194b2845a35b9180 (patch)
tree84830cc11893cff42050900a77ced8a99631d3dc
parent6cd854170f1ed87d1ce381805d79c781ac9ee262 (diff)
license boilerplate
-rw-r--r--LICENSE.txt (renamed from LICENSE)0
-rw-r--r--README.md4
-rw-r--r--firectl.py20
-rwxr-xr-xupdate-pypi.bash3
4 files changed, 23 insertions, 4 deletions
diff --git a/LICENSE b/LICENSE.txt
index d159169..d159169 100644
--- a/LICENSE
+++ b/LICENSE.txt
diff --git a/README.md b/README.md
index b09ff78..83ed325 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
Firectl
=======
+[![License](https://img.shields.io/badge/License-GPLv2+-blue.svg)](https://github.com/rahiel/firectl/blob/master/LICENSE.txt)
+
**Note**: Firejail 0.9.38 has a convenient
[symlink invocation feature](https://l3net.wordpress.com/2016/02/04/firejail-0-9-38-release-announcement/)
to integrate firejail in the desktop.
@@ -47,7 +49,7 @@ sudo firectl restore
## Install
-Firectl can be installed with pip:
+Install firectl with pip:
``` bash
sudo pip3 install firectl
```
diff --git a/firectl.py b/firectl.py
index 9c037e6..c970a52 100644
--- a/firectl.py
+++ b/firectl.py
@@ -1,11 +1,27 @@
# -*- coding: utf-8 -*-
-__version__ = "1.0"
-
+# firectl - integrate firejail sandboxing in the Linux desktop
+# Copyright (C) 2015-2017 Rahiel Kasim
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import os
from difflib import get_close_matches
import click
+__version__ = "1.0"
+
profile_path = "/etc/firejail/"
application_path = "/usr/share/applications/"
diff --git a/update-pypi.bash b/update-pypi.bash
index bb2da80..590faf1 100755
--- a/update-pypi.bash
+++ b/update-pypi.bash
@@ -9,5 +9,6 @@ python3 setup.py bdist_wheel # built package
#gpg --detach-sign -a dist/firectl*.tar.gz
#gpg --detach-sign -a dist/firectl*.whl
-read -p "Password: " password
+read -s -p "Password: " password
+printf "\n"
twine upload dist/* -p "$password"