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

[pygame] Requiring pygame in setup.py



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?