summaryrefslogtreecommitdiff
path: root/install/pyinstaller.spec
diff options
context:
space:
mode:
Diffstat (limited to 'install/pyinstaller.spec')
-rw-r--r--install/pyinstaller.spec67
1 files changed, 0 insertions, 67 deletions
diff --git a/install/pyinstaller.spec b/install/pyinstaller.spec
deleted file mode 100644
index 7eeb5153..00000000
--- a/install/pyinstaller.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-# -*- mode: python -*-
-
-import platform
-p = platform.system()
-
-version = open('share/version.txt').read().strip()
-
-a = Analysis(
- ['scripts/onionshare-pyinstaller'],
- pathex=['.'],
- binaries=None,
- datas=[
- ('../share/version.txt', 'share'),
- ('../share/wordlist.txt', 'share'),
- ('../share/torrc_template', 'share'),
- ('../share/torrc_template-obfs4', 'share'),
- ('../share/torrc_template-meek_lite_azure', 'share'),
- ('../share/images/*', 'share/images'),
- ('../share/locale/*', 'share/locale'),
- ('../share/static/*', 'share/static'),
- ('../share/templates/*', 'share/templates'),
- ('../share/static/css/*', 'share/static/css'),
- ('../share/static/img/*', 'share/static/img'),
- ('../share/static/js/*', 'share/static/js'),
- ('../install/licenses/*', 'licenses')
- ],
- hiddenimports=[],
- hookspath=[],
- runtime_hooks=[],
- win_no_prefer_redirects=False,
- win_private_assemblies=False,
- cipher=None)
-
-pyz = PYZ(
- a.pure, a.zipped_data,
- cipher=None)
-
-exe = EXE(
- pyz,
- a.scripts,
- exclude_binaries=True,
- name='onionshare-gui',
- debug=False,
- strip=False,
- upx=True,
- console=False)
-
-coll = COLLECT(
- exe,
- a.binaries,
- a.zipfiles,
- a.datas,
- strip=False,
- upx=True,
- name='onionshare')
-
-if p == 'Darwin':
- app = BUNDLE(
- coll,
- name='OnionShare.app',
- icon='onionshare.icns',
- bundle_identifier='com.micahflee.onionshare',
- info_plist={
- 'CFBundleShortVersionString': version,
- 'NSHighResolutionCapable': 'True'
- }
- )