3 ms·
Not practical when you need something like ROS with rospy that needs to be global. Python is putting its fingers in its ears singing "LALALALA USE A VENV" inst
by moffkalast 5y ago
Not practical when you need something like ROS with rospy that needs to be global.
Python is putting its fingers in its ears singing "LALALALA USE A VENV" instead of fixing the damn ecosystem. Node and npm proved that a solution exists and it's doable.
- CrispinS 5y agoThere's a PEP for adding support for a __pythonpackages__ directory, similar to node_modules. https://peps.python.org/pep-0582/ https://peps.python.org/pep-0582/ Unfortunately the PEP is from 2018 and is still being discussed. The last post in the comment thread is from February. https://discuss.python.org/t/pep-582-python-local-packages-directory/963/134 https://discuss.python.org/t/pep-582-python-local-packages-d... That's unfortunate; until I went looking for citations I thought it was further along and actually scheduled for the next Python release. Looks like there is a pip-alternative that implements the PEP, but I haven't played around with it yet. https://pdm.fming.dev/ https://pdm.fming.dev/