joha2 / pyrate

This is my pyrate fork. Goal is for me to provide a useful FreeCAD interface.
GNU General Public License v2.0
3 stars 1 forks source link

how to access core modules without using symlinks? #6

Closed joha2 closed 8 years ago

joha2 commented 9 years ago

PEP8 says it is highly discouraged to use relative paths for module import. the solution i use is to ln -s the pyrate core files to PyrateWorkbench directory. is there any better solution?

joha2 commented 8 years ago

we got rid of the symlinks and the relative imports since the gui is initiated from the main directory and is invoking a subdirectory

theinze commented 7 years ago
$ python -m foobar.py

:-)

joha2 commented 7 years ago

sag mal, langweilst du dich? :D