That explains it, I'm using distutils. I'll take a look at setuptools. Thank you for the replies =)
On Mon, Oct 5, 2009 at 10:27, Marius Gedminas <[email protected]> wrote: > On Sun, Oct 04, 2009 at 09:33:47PM -0300, Henrique Nakashima 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)'], > > If you use setuptools, it's spelled install_requires. > > If you use distutils, it doesn't enforce dependencies. > >> ... >> ) >> >> 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? > > Marius Gedminas > -- > To stay awake all night adds a day to your life. > -- Stilgar (Frank Herbert _Children_of_Dune_) > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iD8DBQFKyfQtkVdEXeem148RAlV6AKCLKF1X9TQkwNueFGK1OUPNeMoVDQCgi2eN > 4jCorwV6i0enTh1PQtO9P+A= > =b/z8 > -----END PGP SIGNATURE----- > >
