[tahoe-lafs-trac-stream] [tahoe-lafs] #1274: eliminate pywin32 dependency

tahoe-lafs trac at tahoe-lafs.org
Sun Jul 17 16:30:25 PDT 2011


#1274: eliminate pywin32 dependency
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  warner
  davidsarah             |     Status:  reopened
         Type:  defect   |  Milestone:  1.9.0
     Priority:  major    |    Version:  1.8.0
    Component:  code-    |   Keywords:  pywin32 windows win64 install
  storage                |  twisted review-needed brians-opinion-needed
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------
Description changed by davidsarah:

Old description:

> Anything that can be done using pywin32 can also be done, a little more
> klunkily, using ctypes. Currently we depend on pywin32 directly to get
> disk stats at [source:src/allmydata/storage/server.py at 4595#L177], and
> indirectly via Twisted. Twisted depends on it only for {{{spawnProcess}}}
> in
> [http://twistedmatrix.com/trac/browser/trunk/twisted/internet/posixbase.py?rev=29163#L331].
> These dependencies could be easily eliminated, simplifying installation
> on Windows (if we require a release of Twisted with this change on
> Windows).
>
> TODO: open ticket on Twisted tracker.

New description:

 Anything that can be done using pywin32 can also be done, a little more
 klunkily, using ctypes. Currently we depend on pywin32 directly to get
 disk stats at [source:src/allmydata/storage/server.py at 4595#L177], and
 indirectly via Twisted. Twisted depends on it only for {{{spawnProcess}}}
 in
 [http://twistedmatrix.com/trac/browser/trunk/twisted/internet/posixbase.py?rev=29163#L331].
 These dependencies could be easily eliminated, simplifying installation on
 Windows.

 (We ended up not needing a change to Twisted.)

--

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1274#comment:36>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list