Re:Traps for the Unwary in Python’s Import System
by altruios on Wednesday August 17, 2022 @05:34PM
(#32502009)
Wait: does c++ have a package manager like pip or npm or gem that I didn't know about?
[ Parent
| on HN ]
Re:Traps for the Unwary in Python’s Import System
by molq on Wednesday August 17, 2022 @05:58PM
(#32502246)
There are file system packages (with __init__.py) and PyPI packages.
The former are an extremely poor version of Lisp packages, OCaml modules or C++ name spaces.
The latter are distribution packages (even for distribution packages C++ has Conan etc.).
PyPI packaging gets even worse than usual when attempting to distribute a file system package.