Christopher Barker wrote:
> Ned Deily wrote:
>> The easiest way is to use the install_requires keyword in setup.py.  See 
>> the setuptools documentation here:
>>
>>  <http://peak.telecommunity.com/DevCenter/setuptools>
> 
> That appears to handle dependencies:
> 
> install_requires
> A string or list of strings specifying what other distributions need to 
> be installed when this one is. See the section below on Declaring 
> Dependencies for details and examples of the format of this argument.
> 
> Which looks quite dangerous, as a matter of fact. For example, I do
> 
> easy_install foo
> 
> foo has install_requires("numpy==1.0.3")
> 
> now setuptools will download and install numpy1.0.3, but it won't get 
> used, 'cause there is an older numpy earlier on the pythonpath.

This is incorrect. sys.path gets modified appropriately.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to