[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Requiring pygame in setup.py



hi,

that looks like it should work...

Perhaps try ['pygame>=1.9.1release'] or ['pygame>=1.9.1'] in there.
I'm not sure about the parentheses you had.

Also I'd recommend the Distribute fork of setuptools instead(I'm not
sure if it fixes that bug though):
    http://pypi.python.org/pypi/distribute


cheers,


On Mon, Oct 5, 2009 at 1:33 AM, Henrique Nakashima
<henrique.nakashima@xxxxxxxxx> wrote:
> Hello, I'm working on my setup.py for a Pygame library
> (http://www.pygame.org/project-LibRPG-1293-2260.html) and trying to
> declare Pygame 1.9.1 as a dependency. I wrote:
>
>    setup(...
>          provides=['librpg'],
>          requires=['pygame(>=1.9.1)'],
>           ...
>           )
>
> It worked, but when I replaced 1.9.1 with 1.9.2, to check if it
> actually depended on pygame, it worked as well. What is the right way
> to ask easy_install to get pygame as a dep when my lib is installed?
>