Hi all,
I edited the source of the distribution to allow rss feeds to be checked every 15 minutes instead of the limit (every 30 minutes). 15 minutes really makes the difference with me, my ISP throttles bandwidth at certain times and my items would be downloaded right in time instead of having to wait another 12 hours till the bandwidth is no longer throttled. (from 1.6mbit to 32kbit). I used the 0.4 Beta 2 Distribution.
How would I go about compiling my new sources to exe's, I searched the forums but there's very little I can find. I downloaded the utility py2exe but i'm not sure how to use it. I'm sure something extra needs to be done (two binaries can be made the console one and the hidden one)
I prefer to run the source without python running.
Thanks
Making a Binary
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Making a Binary
Last edited by Titan999 on May 3rd, 2008, 3:01 am, edited 1 time in total.
Re: Making a Binary
Python will run anyway, makes no difference in performance or memory usage.
Re: Making a Binary
OK, I figured out how to compile it, but I need a proper setup.py script
mine gave me
The following modules appear to be missing
['Foundation', 'OpenSSL', 'WebKit.Servlet', '_namemapper', '_yenc', 'cElementTre
e', 'coverage', 'ds.appserver.Servlet', 'ds.sys.Unspecified', 'elementtree.Eleme
ntTree', 'email.Generator', 'email.Iterators', 'email.Utils', 'email.base64MIME'
, 'feedparser', 'ldap', 'resource', 'validate']
when i tried to compile.
I really don't want the python distribution running, I like the entire script to be running hidden in the background like the binary
mine gave me
The following modules appear to be missing
['Foundation', 'OpenSSL', 'WebKit.Servlet', '_namemapper', '_yenc', 'cElementTre
e', 'coverage', 'ds.appserver.Servlet', 'ds.sys.Unspecified', 'elementtree.Eleme
ntTree', 'email.Generator', 'email.Iterators', 'email.Utils', 'email.base64MIME'
, 'feedparser', 'ldap', 'resource', 'validate']
when i tried to compile.
I really don't want the python distribution running, I like the entire script to be running hidden in the background like the binary
Re: Making a Binary
Hey again,
I'm pretty sure I have all of those modules in the reply above, but I can't get those errors to go away. Any suggestions?
I'm pretty sure I have all of those modules in the reply above, but I can't get those errors to go away. Any suggestions?
Re: Making a Binary
Grab a version from the svn, it has a proper setup.py to run.
You need the py2exe module. Compile by running
python setup.py py2exe
You need the py2exe module. Compile by running
python setup.py py2exe
Last edited by switch on May 3rd, 2008, 11:02 am, edited 1 time in total.
Re: Making a Binary
Haha, no longer:
It's now:
It's now:
Code: Select all
setup.py binary