Re: [pygame] Installing pygame with pip
On 28 September 2016 at 16:10, Jorge Maldonado Ventura < jorgesu...@freakspot.net> wrote: > Yes, it works with the --pre flag. Anyone can now test my game with pip: > sudo pip3 install --pre bullet_dodger > Great! I'll give it a try later on. By the way, using sudo with pip is generally frowned on these days, because it can disrupt system stuff. It's better to either create environments (with virtualenv/conda) to install into, or use 'pip install --user' to install packages into a per-user location. > I'll update the installation instructions from the README of my project, > thank you very much, Thomas Kluyver. That --pre won't be neccessary in the > future for my project when 1.9.2 release is available. > Yep, that's right. Hopefully the OSX thing can get resolved soon and a release can happen.
Re: [pygame] Installing pygame with pip
Do you run the setup.py as your user? You may be in a virtual environment or have a different configuration in your .local/ path? Maybe setuptools somehow decides to use a different pip/python version/whatvever? Thomas, you seem to miss that from your last mail? cheers! mar77i
Re: [pygame] Installing pygame with pip
On 2016-09-28 17:02, Thomas Kluyver wrote: > Have you tried with the --pre flag? > > Normally, pip will ignore beta versions unless you specify --pre to allow > pre-releases. It seems there is some special case if it can only find > pre-releases - pygame has never been installable from PyPI before, so pip > doesn't find any earlier version to use and decides to accept the > pre-release. But maybe this only happens when you install something directly, > not when it's looking for a dependency. > > On 28 September 2016 at 15:58, Martin Kühne wrote: > >> What version do you get when you install pygame from pip? Yes, it works with the --pre flag. Anyone can now test my game with pip: sudo pip3 install --pre bullet_dodger I'll update the installation instructions from the README of my project, thank you very much, Thomas Kluyver. That --pre won't be neccessary in the future for my project when 1.9.2 release is available.
Re: [pygame] Installing pygame with pip
On 2016-09-28 16:58, Martin Kühne wrote: > What version do you get when you install pygame from pip? > sudo pip3 install pygame Collecting pygame Using cached pygame-1.9.2b8-cp35-cp35m-manylinux1_x86_64.whl Installing collected packages: pygame Successfully installed PYGAME-1.9.2B8
Re: [pygame] Installing pygame with pip
For me, it's spelled 'Pygame', not 'pygame'. And pip offers v1.9.2b8 of that one. cheers! mar77i
Re: [pygame] Installing pygame with pip
Have you tried with the --pre flag? Normally, pip will ignore beta versions unless you specify --pre to allow pre-releases. It seems there is some special case if it can only find pre-releases - pygame has never been installable from PyPI before, so pip doesn't find any earlier version to use and decides to accept the pre-release. But maybe this only happens when you install something directly, not when it's looking for a dependency. On 28 September 2016 at 15:58, Martin Kühne wrote: > What version do you get when you install pygame from pip? >
Re: [pygame] Installing pygame with pip
What version do you get when you install pygame from pip?
Re: [pygame] Installing pygame with pip
According to setup.py from pygame source code it is called 'pygame'. Anyway, pip is case insensitive. I can install pygame alone via pip, but I don't know why requirement 'pygame >= 1.9.1' from my project can't be found by pip. Do you have any example of a game that can be completely installed with pip, maybe I'm doing something wrong or pip doesn't understand the 1.9.2B8 part (but I think that's not the case). > For me, it's spelled 'Pygame', not 'pygame'. And pip offers v1.9.2b8 > of that one. > > cheers! > mar77i
Re: [pygame] Installing pygame with pip
On 28 September 2016 at 15:40, Martin Kühne wrote: > For me, it's spelled 'Pygame', not 'pygame'. And pip offers v1.9.2b8 > of that one. > The version it offers will depend on your platform for now, though this won't be the case when there's a proper 1.9.2 release out. Windows users will see 1.9.2b1. Mac users should not rely on it until some issues are fixed. If pip doesn't see it, try upgrading pip and/or installing with the --pre flag: pip install --pre pygame Thomas
[pygame] Installing pygame with pip
I made a game with pygame and made it possible to install it with pip. Its only requirement is pygame. It would be nice if pygame could also be installed with pip. Why isn't it possible to install it with pip? Are you planning to do that?
Re: [pygame] Installing pygame with pip
Oh, cool, tested again now pip it gives me a more meaningful output. This is my install requires in setup.py. Here is the project: https://notabug.org/jorgesumle/bullet_dodger/src/master/setup.py * install_requires=[ * 'pygame >= 1.9.1', * ], This is the error I get. Should I change the version? Or it's so recent that only betas are available and it doesn't install. It's the first time I've made a game installable with pip, so maybe i'm doing something wrong. Thanks, for your contributions to free software! I'm using GNU/Linux > sudo pip3 install bullet_dodger Collecting bullet_dodger Using cached bullet_dodger-1.6.9-py2.py3-none-any.whl Collecting pygame>=1.9.1 (from bullet_dodger) Could not find a version that satisfies the requirement pygame>=1.9.1 (from bullet_dodger) (from versions: 1.9.2.dev1, 1.9.2b7, 1.9.2b8) No matching distribution found for pygame>=1.9.1 (from bullet_dodger) > I meant the paragraph beneath the one that made you write yet another mail. > I'll go ahead and quote it for you: > >> We are pretty close to having 'pip install pygame' working on the three >> major platforms - it should already work today for Linux and Windows, but >> there are still a couple of hiccups to be sorted out on OSX. > > cheers! > mar77i
[pygame] About the website
The things I dislike most about the website are: 1. You cannot find nothing with Ctrl+F 2. The tweet section. Remove that, It's useless and it's taking a lot of space. 3. The documentation is difficult to find Apart from that, the website is pretty good.
Re: [pygame] Installing pygame with pip
I meant the paragraph beneath the one that made you write yet another mail. I'll go ahead and quote it for you: > We are pretty close to having 'pip install pygame' working on the three > major platforms - it should already work today for Linux and Windows, but > there are still a couple of hiccups to be sorted out on OSX. cheers! mar77i
Re: [pygame] Installing pygame with pip
needs fixing for mac osx, I guess? :-) cheers! mar77i [0] https://www.mail-archive.com/pygame-users@seul.org/msg19151.html