Index: sitescripts/cms/runserver.spec |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/sitescripts/cms/runserver.spec |
@@ -0,0 +1,23 @@ |
+# PyInstaller spec, run "pyinstaller sitescripts/cms/runserver.spec" from sitescripts root to build |
+ |
+a = Analysis( |
+ ['sitescripts/cms/bin/runserver.py'], |
+ pathex=['.'], |
+ hiddenimports=[], |
+ 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 |
+) |