[Distutils] pip and distutils
Donald Stufft
donald.stufft at gmail.com
Tue Jan 29 18:40:17 CET 2013
On Monday, January 28, 2013 at 5:46 PM, Vraj Mohan wrote:
> ---------- Forwarded message ----------
> From: Vraj Mohan <r.vrajmohan at gmail.com (mailto:r.vrajmohan at gmail.com)>
> Date: Mon, Jan 28, 2013 at 4:31 PM
> Subject: pip and distutils
> To: python-list at python.org (mailto:python-list at python.org)
>
>
> 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 - Distutils-SIG at python.org (mailto:Distutils-SIG at python.org)
> 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"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130129/ef8b6f76/attachment.html>
More information about the Distutils-SIG
mailing list