![]() |
Re: Python - BeautifulSoup ?
Quote:
Code:
rm BeautifulSoup.pyc BeautifulSoupTests.pyc and find out why the "rm" is placed there. At least I would start to search there. Cheers Bjoern |
Re: Python - BeautifulSoup ?
Yeah I've looked at that, its in the clean part of the Make file.
It seems to run fine on my SDK, I could remove it and test it, but I don't really know if its required. I wouldn't of thought the clean script is needed when only 2 files are being copied across. |
Re: Python - BeautifulSoup ?
ok, worked part of it out, seems that when it goes through the autobuilder its not generating the compiled python files .pyc and this is why its erroring out. So I am guessing I'm not including something in the autobuilder that is on my SDK.
|
Re: Python - BeautifulSoup ?
Make "rm" in your rules file "rm -f". This will ensure that rm does not exit with a status code that != 0, causing make to exit and your build to fail. Depending on when the "clean" target was invoked, those pyc files may exist.
|
Re: Python - BeautifulSoup ?
Python compiles the modules on runtime. So apparently there is no need to precompile the modules.
If you want you can precompile (Byte-compile) the modules, which will speed up their loading time, but IMHO this should be done by the installer (at least it is handled this way in Gentoo ebuilds). But you should avoid placing stuff in the .dep file which happened to be created during testing (like the .pyc files, backup files from editor etc...) Cheers Bjoern |
Re: Python - BeautifulSoup ?
ok, I'll give these a shot later tonight and see how it turns out.
Just strange that my SDK is generating the .pyc and the auto-builder isn't. I've changed a few commands in the make file to list the contents out so I can see this. Cheers |
All times are GMT. The time now is 11:56. |
vBulletin® Version 3.8.8