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.
Note that the answer above is incorrect. The exact regex from the code is re.sub('[^A-Za-z0-9.]+', '-', name). But if you try pip install foo!bar you get a big parse error so this isn't really true either.
re.sub('[^A-Za-z0-9.]+', '-', name)
pip install foo!bar