Somewhere underscores get changed to dashes, if you install with a git repo with "pip install -e ...".
Is there any way to stop this?
I want to automate stuff. I want repo foo_bar
to be ~/src/foo_bar
, not ~/src/foo-bar
.
Somewhere underscores get changed to dashes, if you install with a git repo with "pip install -e ...".
Is there any way to stop this?
I want to automate stuff. I want repo foo_bar
to be ~/src/foo_bar
, not ~/src/foo-bar
.
From what I can see from this question and this response on the Python mailing list it looks like this is due to numerous naming conventions throughout the Python packaging system, and the compatibility between them.
Pythons
setuptools
runssafe_name
which:Even though
pip
,easy_install
andPyPi
may accept the underscore, when installing it is changed to a single '-' for setuptools standards.