Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dots in package names do not work correctly in simple indexes #55

Closed
jstelzer opened this issue May 19, 2016 · 7 comments
Closed

Dots in package names do not work correctly in simple indexes #55

jstelzer opened this issue May 19, 2016 · 7 comments

Comments

@jstelzer
Copy link

When installing something like dogpile.cache or backports.shutil-get-terminal-size pip looks in directories like simple/dogpile-cache/ or simple/backports-shutil-get-terminal-size/

I am far from an expert on python packaging. I'm just noting what I observed with pip and the -v flags while trying to setup my own little pypi repo.

@jstelzer
Copy link
Author

#56 is a trivial fix for this. Seems to work fine but, review is appreciated.

@ssdxiao
Copy link

ssdxiao commented Jun 27, 2016

I am meet this problem too, and has use this patch to my pip2pi.

@spawnrider
Copy link

+1

2 similar comments
@aiman-alsari
Copy link

+1

@saurfangg
Copy link

+1

@wolever
Copy link
Owner

wolever commented Sep 21, 2016

Thanks for the patience everyone! I've just pushed a new version, 0.7.0rc1, which should correctly normalize package names (I've also added --aggressive-normalization, which will use a couple of different normalizations to support older versions of pip).

Would you be able to install it:

pip install pip2pi==0.7.0rc1

Test it out, and let me know if there are any issues?

Thanks!

@jstelzer
Copy link
Author

Confirmed. Directory names using pip install pip2pi==0.7.0rc1 are generating correctly for packages containing periods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants