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_)
signature.asc
Description: Digital signature
