Y
Hacker News
new
|
ask
|
show
|
jobs
by
binux
4237 days ago
agree
1 comments
redacted
4237 days ago
What is the recommended way? (Serious question, I have larger projects that I would someday like to refactor into proper packages)
link
iamtew
4237 days ago
There is also these guides that provide plenty of information on how packages work and best practices:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
link
binux
4236 days ago
I have "organize the code using a single top-level package".
link
ngoldbaum
4237 days ago
Because the name "libs" is now installed into the global module namespace. It's better to use a less generic name.
link