-
Hello all - My file structure is thus:
The command I run to generate my .whl is
My
It might be a poor understanding of what a wheel actually is and what files I need/want to include but - I would be led to believe that I want all of my packages included so I can have a fully constructed Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
What sort of layout do you need? You could use Also, FWIW try going through https://packaging.python.org/tutorials/packaging-projects/. |
Beta Was this translation helpful? Give feedback.
What sort of layout do you need? You could use
py_modules=['main']
to get thatmain.py
installed right in the root ofsite-packages/
. But This seems wrong. I'd recommend putting it into the package (a folder with__init__.py
)Also,
where="mypkg",
seems weird. It's usuallysrc/
but then, this dir usually lives in the project root. What are you trying to achieve with this layout?FWIW try going through https://packaging.python.org/tutorials/packaging-projects/.