| Index: sitescripts/cms/runserver.spec |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/sitescripts/cms/runserver.spec |
| @@ -0,0 +1,25 @@ |
| +# PyInstaller spec, "run pyinstaller sitescripts/cms/runserver.spec" from sitescripts root to build |
| + |
| +a = Analysis( |
| + ['sitescripts/cms/bin/runserver.py'], |
| + pathex=['.'], |
| + hiddenimports=[], |
|
Sebastian Noack
2013/12/12 12:59:00
Why don't you list hidden imports here instead of
Wladimir Palant
2013/12/16 13:03:55
Because they don't work here - I tried.
|
| + hookspath=None, |
|
Sebastian Noack
2013/12/12 12:59:00
I think you can omit hookspath and runtime_hooks.
Wladimir Palant
2013/12/16 13:03:55
That's autogenerated boilerplate but I can remove
|
| + runtime_hooks=None, |
| + excludes=['sqlite3', 'django', 'ssl', '_ssl', 'OpenSSL', '_hashlib', 'unittest'], |
| +) |
| + |
| +pyz = PYZ(a.pure) |
| + |
| +exe = EXE( |
| + pyz, |
| + a.scripts, |
| + a.binaries, |
| + a.zipfiles, |
| + a.datas, |
| + name='runserver', |
| + debug=False, |
| + strip=None, |
| + upx=False, |
| + console=True |
| +) |