-
Notifications
You must be signed in to change notification settings - Fork 296
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
Incorrect package name detection with OSX version scheme #88
Comments
Can you give a concrete example with some published package in pypi? |
Published pypi package - dunno. But that is the name that is generated by |
|
I do not have a MacOS. Could it be a setuptools/distutils issue undex MacOS? |
Oh, I think there is a miscommunication. This is the problem within pypi-server where the uploaded hosted packages are not correctly identified by Actually I found that in both cases there is a problem, but in case of OSX the package name is not identified correctly at all:
As you can see the package name in case of Linux is correct but version is wrong as it carries the platform identifiers. In case of an OSX package even the package name is incorrect. |
Fixes package name and package version handling of bdist_dumb packages Detects OS name boundary as specified in http://svn.python.org/projects/python/trunk/Lib/distutils/util.py Also detects cpN and pyN boundary fixes pypiserver#88, connected to pypiserver#88
@ankostis bump |
Incorrect package name detection with OSX version scheme #88
For
package-name-0.0.1.dev0.linux-x86_64.tar.gz
the name is correctly detected aspackage-name
For
package-name-0.0.1.dev0.macosx-10.10-intel.tar.gz
the name is incorrectly detected aspackage-name-0.0.1.dev0.macosx
The text was updated successfully, but these errors were encountered: