chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
124c0cd
)
Added python path needed to run slicer
author
smorloc
<smorloc@gmail.com>
Wed, 16 Jan 2013 02:29:20 +0000
(21:29 -0500)
committer
smorloc
<smorloc@gmail.com>
Wed, 16 Jan 2013 02:29:20 +0000
(21:29 -0500)
Cura/slice/__main__.py
patch
|
blob
|
history
diff --git
a/Cura/slice/__main__.py
b/Cura/slice/__main__.py
index 15eee89172067f16f5af0f753d397dd5bf786bfd..573920bd1e4edd68a12fc220183aacb81356081f 100644
(file)
--- a/
Cura/slice/__main__.py
+++ b/
Cura/slice/__main__.py
@@
-5,6
+5,11
@@
import sys
import re
import os
+if not hasattr(sys, 'frozen'):
+ cura_sf_path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "./cura_sf/"))
+ if cura_sf_path not in sys.path:
+ sys.path.append(cura_sf_path)
+
from Cura.util import profile
from Cura.slice.cura_sf.skeinforge_application.skeinforge_plugins.craft_plugins import export