[Pkg-privacy-commits] [torbrowser-launcher] 20/39: Fix style on setup.py
Roger Shimizu
rosh at debian.org
Tue Mar 27 15:41:52 UTC 2018
This is an automated email from the git hooks/post-receive script.
rosh pushed a commit to branch rosh/experimental
in repository torbrowser-launcher.
commit 2b854d436cd06a43970854872cc25f427bda4d76
Author: Micah Lee <micah at micahflee.com>
Date: Fri Mar 23 13:13:52 2018 -0700
Fix style on setup.py
---
setup.py | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 991adbb..37452ba 100644
--- a/setup.py
+++ b/setup.py
@@ -26,13 +26,18 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
"""
+import os
+import sys
+import platform
+import subprocess
from distutils.core import setup
-import os, sys, platform, subprocess
+
SHARE = 'share'
# detect linux distribution
distro = platform.dist()[0]
+
def file_list(path):
files = []
for filename in os.listdir(path):
@@ -40,6 +45,7 @@ def file_list(path):
files.append(path+'/'+filename)
return files
+
def create_mo_files():
po_dir = 'po/'
if not os.path.exists(po_dir):
@@ -59,6 +65,7 @@ def create_mo_files():
mo_files.append(mo_dir + mo_file)
return mo_files
+
with open(os.path.join(SHARE, 'torbrowser-launcher/version')) as buf:
version = buf.read().strip()
@@ -95,7 +102,15 @@ setup(
license='MIT',
description='A program to help you securely download and run Tor Browser',
long_description="""
-Tor Browser Launcher is intended to make Tor Browser easier to install and use for GNU/Linux users. You install torbrowser-launcher from your distribution's package manager and it handles securely downloading the most recent version of Tor Browser for you, in your language and for your architecture. It also adds a "Tor Browser" application launcher to your operating system's menu. When you first launch Tor Browser Launcher, it will download Tor Browser from https://www.torproject.org/, v [...]
+Tor Browser Launcher is intended to make Tor Browser easier to install and use
+for GNU/Linux users. You install torbrowser-launcher from your distribution's
+package manager and it handles securely downloading the most recent version of
+Tor Browser for you, in your language and for your architecture. It also adds a
+"Tor Browser" application launcher to your operating system's menu. When you
+first launch Tor Browser Launcher, it will download Tor Browser from
+https://www.torproject.org/, verify the PGP signature, extract it in your home
+directory, and launch it. When you run it after that it will just launch Tor
+Browser.
""",
packages=['torbrowser_launcher'],
scripts=['torbrowser-launcher'],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git
More information about the Pkg-privacy-commits
mailing list