Open pawamoy opened 1 week ago
Your file layout is not quite following recommendations. Ideally, the contents in src
would be put in a subdirectory called after your package name:
./
src/
pattern_cutting/
__init__.py
# all other files...
Then you wouldn't have to import things from src
but from pattern_cutting
:
from pattern_cutting.geometry.Vector import Vector
from pattern_cutting.render import render
origin = Vector(0,0)
origin.label = "Origin"
render(origin)
Hey, nice project! I'd like to include an example in Markdown Exec's gallery: https://pawamoy.github.io/markdown-exec/gallery/. Would you like to push a release to PyPI so that I can depend on it without having to use a Git+HTTPS URL?