Replies: 3 comments
-
Yes. Local packages are yet not supported. It is just a little like python, we can use the pip package that contains - but we can not import local package contains - |
Beta Was this translation helpful? Give feedback.
-
I see, getting best of python, doesn't necessary mean that kcl import system should resemble this behavior. For the perspective of uniform behavior import of remote modules or local packages could behave the same way, i.e. it works for remote and it works for local the same way... Though it's not clear how to differentiate import ( But this is all preferences... |
Beta Was this translation helpful? Give feedback.
-
Any resolution for this issue? This is still a rather big problem when working on large projects. I have several folders with dashes in it and it is impossible to import them using these folder names. I have to use the workaround to import them relative, which in most cases result in a lot of dots and a filename. Also my IntelliJ IDE (PHPStorm) does not like this very much and crashes often or just marks them as invalid. |
Beta Was this translation helpful? Give feedback.
-
Hello @Peefy , I continue to enjoy my learning of KCL)
Yet met another minor bug in import, which you might be aware of... If issue with importing modules has been resolved, I'm successfully able to import artifathub modules with dashes in name. Local packages seem to misbehave.
1. Minimal reproduce step (Required)
a.k:
kcl.mod:
4. What is your KCL components version? (Required)
0.8.7
Thank you and have a great day @Peefy !
Beta Was this translation helpful? Give feedback.
All reactions