How to setup setuptools for python 2.6 on Windows?

Is there any way to install setuptools for python 2.6 in Windows without having an .exe installer?

There isn't one built at the moment, and the maintainer of setuptools has stated that it's probable be a while before he'll get to it.

Does anyone know of a way to install it anyway?

Answers


First Option - Online Installation (i.e. remaining connected to the Internet during the entire installation process):

  1. Download setuptools-0.6c9.tar.gz
  2. Use 7-zip to extract it to a folder(directory) outside your Windows Python installation folder
  3. Go the folder (refer step 2) and run ez_setup.py from the corresponding dos (command) prompt
  4. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory

Second Option:

  1. Download setuptools-0.6c9.tar.gz
  2. Download setuptools-0.6c9-py2.6.egg to a folder(directory) outside your Windows Python installation folder
  3. Use 7-zip to extract ez_setup.py in the same folder as setuptools-0.6c9-py2.6.egg
  4. Go to the corresponding dos prompt and run python ez_setup.py setuptools-0.6c9-py2.6.egg from the command prompt
  5. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory

Third Option (assuming that you have Visual Studio 2005 or MinGW on your machine)

  1. Download setuptools-0.6c9.tar.gz
  2. Use 7-zip to extract it to a folder(directory) outside your Windows Python installation folder
  3. Go the folder (refer step 2) and run python setup.py install from the corresponding dos (command) prompt

Please provide feedback.


Need Your Help

Using Regex to strip certain CSS properties out of an HTML string

html css regex vb.net telerik

I have a telerik RadEditor that a user is able to enter HTML into an editor and save to my database. Most of the time this works great, but I'm having a problem with certain instances when there i...

Good implementation of unit test with EasyMock

java unit-testing easymock

I have a question about good implementation of unit test with EasyMock.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.