[Tutor] How to unpack python-dateutil-2.0.tar.gz
eryksun
eryksun at gmail.com
Fri Oct 19 12:47:23 CEST 2012
On Fri, Oct 19, 2012 at 5:53 AM, Richard D. Moores <rdmoores at gmail.com> wrote:
> On Fri, Oct 19, 2012 at 1:55 AM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>>
>> So what? Why should the way that Python software gets installed vary from
>> version to version?
>
> Try it yourself and you'll see.
The setup.py needs setuptools as per jcoon's answer. For 3.x you need
to install Distribute, which is a fork of setuptools. The line "from
setuptools import setup" extensively patches distutils. It then honors
the option 'install_requires = ["six"]' to fetch and install the
dependency (this dependency is new to version 2.1) when you run
"setup.py install". Alternatively, once you have Distribute installed,
you can add the Scripts directory to the Windows PATH and just
"easy_install python-dateutil" in an elevated console.
More information about the Tutor
mailing list