Installation through requirements.txt

Issue #316 resolved
Arno Nym
created an issue

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)

  1. Thomas Kluyver

    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 Windows pygame==1.9.2b1. Mac wheels are still being worked out (see issue #300).

  2. Log in to comment