![]() |
Re: Making Python faster (for fmms initially)
Quote:
|
Re: Making Python faster (for fmms initially)
Quote:
|
Re: Making Python faster (for fmms initially)
what he says ^, no idea how I could have forgotten about dh_pysupport
|
Re: Making Python faster (for fmms initially)
i've managed to build my app with dh_pysupport and it seems to load faster now.
.pyc files were build. Is there a significant difference to .pyo files? |
Re: Making Python faster (for fmms initially)
Afaik you should not hack something "always on" in python as it is not able to properly free ram and will cause to slow down your system! Is the daemon running in background coded in python?
|
Re: Making Python faster (for fmms initially)
Quote:
|
Re: Making Python faster (for fmms initially)
Quote:
|
Re: Making Python faster (for fmms initially)
i'm using a hacked version of py2deb. I added python-support to build_depends and depends in debian/control and dh_pysupport to debian/control. It's important to add the path of your installed app to dh_pysupport. e.g. "dh_pysupport /opt/your-package", because your module will not be installed in a standard public path.
i've used the extras-assistant to upload the files. If something is wrong with the syntax, the build log will tell you. The builder runs dh_pysupport and the .pyc files will be added to your .deb. Editing postinstall was not necessary. I don't know, if this is the right way, but it worked in the end... |
Re: Making Python faster (for fmms initially)
Quote:
|
Re: Making Python faster (for fmms initially)
Quote:
Personnaly i use : python -m compileall /home/opt/pygtkeditor in my post install script of pygtkeditor |
| All times are GMT. The time now is 20:53. |
vBulletin® Version 3.8.8