Участник:StasFomin/Bookmarks/Stegano — различия между версиями

Материал из DISCOPAL
Перейти к: навигация, поиск
(Добавлена закладка (Feature request) Python service without pythonservice.exe when using Nuitka · Issue #1302 · mhammond/pywin32)
(Добавлена закладка Nuitka compiler can not be used with gunicorn · Issue #1555 · benoitc/gunicorn)
Строка 2: Строка 2:
 
=== 2020-07 ===
 
=== 2020-07 ===
  
 +
* 2020-07-25, 02:32:36: [https://github.com/benoitc/gunicorn/issues/1555 Nuitka compiler can not be used with gunicorn · Issue #1555 · benoitc/gunicorn]
 +
*: <html>Alternatively, you may be able to use the <code>--module</code> <a href="http://nuitka.net/doc/user-manual.html#use-case-2-extension-module-compilation" rel="nofollow">form of Nuitka compilation</a> to compile your module or package. That should produce a standard shared object extension module that if you arrange to be on sys.path gunicorn should be able to find and import. This should be the same as compiling your module using Cython, and I would expect that to work under limited circumstances.</html>
 +
<!-- NEXT BOOKMARK -->
 
* 2020-07-24, 00:14:29: [https://github.com/mhammond/pywin32/issues/1302 (Feature request) Python service without pythonservice.exe when using Nuitka · Issue #1302 · mhammond/pywin32]
 
* 2020-07-24, 00:14:29: [https://github.com/mhammond/pywin32/issues/1302 (Feature request) Python service without pythonservice.exe when using Nuitka · Issue #1302 · mhammond/pywin32]
 
*: <html><p>Is there any hope to make pythonservice.exe load the Nuitka compiled exe itself instead of trying to import py files ?</p> <ul> <li>Steps to reproduce the problem.<br> Create a basic service like <a href="https://gist.github.com/deajan/4af18971ca0e2315ebdf872c57feeea6">https://gist.github.com/deajan/4af18971ca0e2315ebdf872c57feeea6</a></li> </ul> <p>Compile with nuitka as standalone</p> <pre><code>nuitka --standalone --experimental=useInternalDependencyWalker --import-module=win32timezone myservice.py </code></pre> <p>I made sure pythonservice.exe and pywintypes32.dll are in the nuitka distribution folder.<br> The service installs, but then tries to load directly the .py files instead of the executable created by Nuitka.</p> <p>Best regards.</p> <p>Using Python 3.7.2 and pywin32 224.</p></html>
 
*: <html><p>Is there any hope to make pythonservice.exe load the Nuitka compiled exe itself instead of trying to import py files ?</p> <ul> <li>Steps to reproduce the problem.<br> Create a basic service like <a href="https://gist.github.com/deajan/4af18971ca0e2315ebdf872c57feeea6">https://gist.github.com/deajan/4af18971ca0e2315ebdf872c57feeea6</a></li> </ul> <p>Compile with nuitka as standalone</p> <pre><code>nuitka --standalone --experimental=useInternalDependencyWalker --import-module=win32timezone myservice.py </code></pre> <p>I made sure pythonservice.exe and pywintypes32.dll are in the nuitka distribution folder.<br> The service installs, but then tries to load directly the .py files instead of the executable created by Nuitka.</p> <p>Best regards.</p> <p>Using Python 3.7.2 and pywin32 224.</p></html>

Версия 23:32, 24 июля 2020

2020

2020-07

Навигация