#142 closed defect

pywin32 can't be installed with setuptools — at Version 20

Reported by: zooko Owned by: zooko
Priority: major Milestone: 1.11.0
Component: packaging Version: 0.7.0
Keywords: windows setuptools pywin32 Cc:
Launchpad Bug:

Change History (20)

comment:1 Changed at 2007-09-28T02:27:57Z by warner

  • Component changed from unknown to packaging

comment:2 Changed at 2007-10-02T20:52:26Z by zooko

  • Milestone changed from 0.6.1 to 0.7.0
  • Version changed from 0.5.1 to 0.6.0

bumping this problem out to milestone 0.7.0

comment:3 Changed at 2007-10-02T20:52:32Z by zooko

  • Status changed from new to assigned

comment:4 Changed at 2007-11-01T19:37:07Z by zooko

  • Milestone changed from 0.7.0 to 0.7.1

comment:5 Changed at 2007-11-13T18:32:25Z by zooko

  • Milestone changed from 0.7.1 to 0.7.2
  • Version changed from 0.6.0 to 0.7.0

We need to choose a manageable subset of desired improvements for v0.7.1, scheduled for two week hence, so I'm bumping this one into v0.7.2, scheduled for mid-December.

comment:6 Changed at 2008-01-23T04:21:53Z by zooko

  • Milestone changed from 0.7.2 to undecided

comment:7 Changed at 2008-03-10T17:38:42Z by zooko

  • Description modified (diff)

Hooray! Philip J. Eby found a bug in setuptools that was causing this problem:

http://mail.python.org/pipermail/distutils-sig/2008-March/008867.html

comment:8 Changed at 2008-05-15T22:04:30Z by zooko

setuptools 0.6c8 doesn't have the patch that makes it able to handle pywin32, but the current unreleased SVN of setuptools has.

comment:9 Changed at 2008-06-02T23:16:34Z by zooko

Here is the ticket on the setuptools issue tracker:

http://bugs.python.org/setuptools/issue18

comment:10 Changed at 2008-12-05T23:38:34Z by zooko

  • Resolution set to fixed
  • Status changed from assigned to closed

This has been fixed, but pywin32 isn't hosted on pypi so it isn't automatically downloaded by easy_install. However, we can host our own copies, e.g. http://testgrid.allmydata.org:3567/uri/URI%3ADIR2-RO%3Asnrfwfxatrci35zdgjnzxxx2ke%3Aunarxv347edtku3xzmefy4mcdmfngxzeb72iyqcadbjzjpczjx5a/

The ticket asking the pywin32 folks to post packages (or links) on pypi is https://sourceforge.net/tracker2/?func=detail&aid=1799934&group_id=78018&atid=551954

Closing this ticket.

comment:11 Changed at 2009-03-02T17:16:22Z by zooko

  • Resolution fixed deleted
  • Status changed from closed to reopened

Whoops, I don't think pywin32 and the latest setuptools/zetuptoolz work after all.

comment:12 Changed at 2009-09-19T20:40:10Z by zooko

See also ticket #756 (if pywin32 has been manually installed, setuptools still doesn't detect it).

comment:13 Changed at 2009-12-12T02:16:29Z by davidsarah

  • Keywords windows setuptools pywin32 added

comment:14 Changed at 2010-02-06T05:20:58Z by zooko

Setuptools is being eclipsed by a vigorously developed fork of setuptools named "distribute". There is one ticket open in their issue tracker which mentions pywin32. Perhaps the maintainers of distribute would like to make sure that pywin32 is installable with their tool.

(Distribute is backwards-compatible with setuptools so we could switch over to distribute without too much difficulty.)

comment:15 Changed at 2010-04-15T04:21:19Z by zooko

Okay, I found a helpful person on #distutils IRC channel who tried to easy_install pywin32 using distribute 0.6.10. The results are:

There is also an independent problem that the pywin32 files are not linked from pypi.python.org so setuptools will not find them to auto-download them unless we add an entry to find_links in setup.cfg. (Possibly that entry should be http://sourceforge.net/projects/pywin32/files/ but I'm not sure if sourceforge's mirroring scheme will defeat setuptools's auto-downloading scheme.) Alternately we could host copies of the pywin32 packages on a Tahoe-LAFS grid and put the URL of that into find_links. :-) I'm pursuing http://bitbucket.org/tarek/distribute/issue/140/compile-from-source-of-pywin32-failed , which looks like it might be related to #756.

comment:16 Changed at 2010-11-03T04:22:34Z by zooko

http://www.mail-archive.com/python-win32@python.org/msg05269.html

I work for a company called Enthought who also ships a Python Distribution(EPD) which includes an 'egg' version of pywin32 that someone could easy_install. The entire distribution is free, but unfortunately there is an annual fee to access the egg repository for individual packages. However, I would be more than willing to help you get started with using setuptools and creating an egg for pywin32 :). Even if the pywin32 project doesn't upload the egg to PyPi, there is still another way through setuptools to make a single install step for your users.

comment:17 Changed at 2010-11-14T09:00:21Z by zooko

See also #1093 (win32 build hell).

comment:18 Changed at 2010-11-30T23:50:11Z by davidsarah

See also #1274 (eliminate pywin32 dependency).

comment:19 Changed at 2011-07-31T20:52:06Z by davidsarah

  • Resolution set to invalid
  • Status changed from reopened to closed

No longer required.

comment:20 Changed at 2014-03-17T18:50:08Z by daira

  • Description modified (diff)
  • Resolution invalid deleted
  • Status changed from closed to reopened

Reopening because of #2028 (Twisted endpoints introduce a dependency on pywin32).

Note: See TracTickets for help on using tickets.