Closed zhengyang92 closed 10 years ago
Please don't put any of the arts/asp code directly into the demos. Rather do sth like creating a settings.py
where you do
import sys
sys.path.insert(0,SHOGUNAPPLICATIONSPATH_ARTS)
sys.path.insert(0,SHOGUNAPPLICATIONSPATH_ASP)
etc
waiting for an updated PR...
Any news?
@sonney2k, I'm stuck with the import of asp class. The class is available only when the source file ends with .py, I've tried 'imp.load_source', but in that way python cannot import anything in asp. so could we make a symbolic link 'asp.py' to original 'asp' under shogun/applications/asp/?
@ZhengyangL did you create a init.py file in the arts dir so you can import it?
I just added the files now you should be fine once you set the proper PYTHONPATH or do the sys.path.insert above
@ZhengyangL if this is now not working for you come to IRC and show my what you do exactly
man your image! is that nekobus?