On Monday, January 28, 2013 at 5:46 PM, Vraj Mohan wrote:
> ---------- Forwarded message ----------
> From: Vraj Mohan <[email protected] (mailto:[email protected])>
> Date: Mon, Jan 28, 2013 at 4:31 PM
> Subject: pip and distutils
> To: [email protected] (mailto:[email protected])
>
>
> I have created a source distribution using distutils which specifies
> external packages using:
>
> setup(
> ...,
> requires = ['Foo (>= 0.7)', 'Bar (>= 2.4.5)'],
> ...
> )
>
> When I use pip to install this distribution, I find that it does not
> automatically install the packages Foo and Bar. What extra step do I
> need to perform to have pip automatically install the "required"
> packages?
>
> I am using Python 3.2.3.
>
> --Vraj
> _______________________________________________
> Distutils-SIG maillist - [email protected]
> (mailto:[email protected])
> http://mail.python.org/mailman/listinfo/distutils-sig
>
>
You're using the distutils2 Syntax but pip is built ontop of setuptools.
You want requires = ["Foo>=0.7", Bar>=2.4.5"]
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig