pygame is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

pygame / pygame http://pygame.org/

Clone this repository (size: 15.4 MB): HTTPS / SSH
hg clone https://bitbucket.org/pygame/pygame
hg clone ssh://hg@bitbucket.org/pygame/pygame

Issues

#59 pygame has no pypi page and can't be installed by pip on linux

Reported by illume

Yury V. Zaytsev, 2010-12-20 02:43:58 -0800

Hi!

I have reported this as a bug against pip here:

https://bitbucket.org/ianb/pip/issue/195/pip-wrongly-selects-pygame-191release-py26

However, I think that this can be also due to the wrong information about pygame on pypi. I tried to search pypi to find pygame's page, but it's just not there:

http://pypi.python.org/pypi?%3Aaction=search&term=pygame&submit=search

So I think that even if it's a bug with pip, you have to fix the pypi page anyway.

Thanks!

Status: open Responsible: illume Type: bug Priority: blocker
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 illume

    written

    Issue #66 was marked as a duplicate of this issue.

  2. #2 illume

    written

    • Changed status from new to open.

    There is a bug #66 which mentions that pip installs the wrong version on windows.

    The pip bug is now at: https://github.com/pypa/pip/issues/57

  3. #3 illume

    written

    • Changed milestone from nothing to 1.9.2.
    • Changed priority from trivial to blocker.
    • Changed component from nothing to packaging.

    I'll fix up the pypi page, and see if that fixes it.

  4. #4 Anonymous

    written

    As explained into the Pip issue opened, the problem comes mainly for the way the packages are presented on the download page : The problem comes from those files on your download page (http://www.pygame.org/download.shtml) :

    pygame-1.9.1release-py2.6-macosx10.5.zip 10.3MB
    pygame-1.9.1release-py2.5-macosx10.5.zip 10.3MB
    pygame-1.9.1release-py2.4-macosx10.5.zip 10.3MB
    and 
    pygame-1.9.2pre-py2.6-macosx10.6.mpkg.zip
    pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip
    

    basically the PackageFinder of pip is crawling your page for links and *.tar, *.zip etc... files representing python packages, and two key facts happen :

    those files are zip files, not any other plateform dependent files like "mpkg" or "dmg"; and they are named just like python packages. So the package finder treat them as releases, and parse their versions. So on any machine you'll end up with the following "sorted" list :

     Using version 1.9.2pre-py2.7-macosx10.7.mpkg 
     (newest of versions: 1.9.2pre-py2.7-macosx10.7.mpkg, 1.9.2pre-py2.6-macosx10.6.mpkg, 
          1.9.1release-py2.6-macosx10.5, 1.9.1release-py2.5-macosx10.5, 
          1.9.1release-py2.4-macosx10.5, 1.9.1release, 1.9.1release, 
          1.9.0release, 1.8.1release, 1.8.0release, 1.8.0-deps-src, 1.7.1release, 1.6.2,...)
    

    So the possible fix is simple, simply make available for download the dmg/mpkg files or rename them so that they don't appear like Python packages anymore.

    Regards,

    Olivier.

  5. #5 illume

    written

    Thanks very much for the info.

    A patch is now in pip which should fix this in the future (once a new pip is released and used by everyone).

    I'll update the downloads to just be .dmg files... as I think that is ok on modern OSX now. I'll leave the old .zip files there, just not link to them from the downloads page.

    cheers,

  6. #6 Anonymous

    written

    This is still not working.

    pip install pygame
    

    starts to download macos version instead. I am using this instead

    pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip
    

    Roberto

  7. #7 Anonymous

    written

    Sorry, using this instead:

    pip install http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz
    

    Roberto

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?