mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 07:25:10 -04:00
adding html files to Resources, loading them from the correct path, and make sure to include jinja2 extension in py2app (#151)
This commit is contained in:
parent
a86cda4549
commit
ad553146c7
3 changed files with 14 additions and 4 deletions
5
setup.py
5
setup.py
|
@ -101,13 +101,14 @@ elif system == 'Darwin':
|
|||
app=['install/onionshare-launcher.py'],
|
||||
data_files=[
|
||||
('images', images),
|
||||
('locale', locale)
|
||||
('locale', locale),
|
||||
('html', ['onionshare/index.html', 'onionshare/404.html'])
|
||||
],
|
||||
options={
|
||||
'py2app': {
|
||||
'argv_emulation': True,
|
||||
'iconfile':'install/onionshare.icns',
|
||||
'includes': ['pip', 'PyQt4', 'PyQt4.QtCore', 'PyQt4.QtGui'],
|
||||
'includes': ['pip', 'PyQt4', 'PyQt4.QtCore', 'PyQt4.QtGui', 'jinja2', 'jinja2.ext', 'jinja2.ext.autoescape'],
|
||||
'excludes': ['PyQt4.QtDesigner', 'PyQt4.QtNetwork', 'PyQt4.QtOpenGL', 'PyQt4.QtScript', 'PyQt4.QtSql', 'PyQt4.QtTest', 'PyQt4.QtWebKit', 'PyQt4.QtXml', 'PyQt4.phonon']
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue