Tuesday, December 16, 2008

Python 2.6 : ez_setup and setuptools, pylint on Windows

After i installed 2.6 i notice there is no setuptools windows installer in the python.org site.
So to manually install it you need to :-

1. Download this egg file :
http://pypi.python.org/packages/2.6/s/setuptools/

2. Make sure u have download ez_setup.py from
http://peak.telecommunity.com/dist/

3. ez_setup setuptools-0.6c9-py2.6.egg
**
PJ Eby :
Actually, you can just download the source, unzip it, and do "setup.py bdist_wininst" to build your own .exe installer.
**

Now you need to download the pylint for checking /integrating with ur ide.
And again, u notice that u will fail to get it installed via "easy_install pylint", so here
is the manual way.

http://www.logilab.org/view?rql=Any%20X%20WHERE%20X%20eid%20848
http://www.logilab.org/view?rql=Any%20X%20WHERE%20X%20eid%20856
http://www.logilab.org/view?rql=Any%20X%20WHERE%20X%20eid%20857
(all the download links are at the upper right hand corner)

Download and unzip to all the folders, then goto each of them, common, astng, pylint and run :
python setup.py install


Case close.




4 comments:

  1. Actually, you can just download the source, unzip it, and do "setup.py bdist_wininst" to build your own .exe installer.

    ReplyDelete
  2. Thanks for the tips on the setuptools.
    Its an honor to have you dropping by ! :-)
    Will update the post.

    ReplyDelete
  3. FWIW for pylint, I am maintaining a windows friendly package : http://tarekziade.wordpress.com/2008/02/20/pylint-installation-made-easier/

    ReplyDelete
  4. tarek, cool ! will check it out, hope u will maintain this for any upcoming updates on pylint as well.

    ReplyDelete