- edited description
Installation through requirements.txt
Hey everyone,
I'm trying to get my project to install its dependencies (including PyGame) automatically by means of a requirements.txt. I've added a line to the requirements.txt for PyGame that looks like this:
-e hg+https://bitbucket.org/pygame/pygame@aa82244#egg=pygame
but pip complains about missing dependencies during the installation:
Hunting dependencies... SDL : found 1.2.15 FONT : found IMAGE : found MIXER : not found PNG : found JPEG : found SCRAP : found PORTMIDI: not found PORTTIME: not found FREETYPE: found 2.5.2 Missing dependencies ---------------------------------------- Cleaning up...
The strange part about this is that I can manually run python setup.py install
and it installs successfully.
Both pip
and python
are running inside a virtualenv
.
Any idea what might be causing this issue?
Cheers!
Comments (5)
-
-
If it compiles from source, it needs to be able to find various libraries to link against. I don't know why it would work with
setup.py install
, but I guess there must be some difference in how pip invokes it.We do now have (beta) wheels up on PyPI. On Linux, you should be able to install
pygame==1.9.2b8
, and on Windowspygame==1.9.2b1
. Mac wheels are still being worked out (see issue #300). -
- changed version to 1.9.2
-
I'm marking this as resolved now that there are wheels on PyPI; it's not clear to me that there's anything to do about installing from source with requirements.txt.
-
- changed status to resolved
- Log in to comment