[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2392: depend on `Twisted[windows]` (or something) to get pypiwin32 installed

Tahoe-LAFS trac at tahoe-lafs.org
Fri Mar 25 17:32:42 UTC 2016


#2392: depend on `Twisted[windows]` (or something) to get pypiwin32 installed
---------------------------+----------------------------------
     Reporter:  zooko      |      Owner:  glyph
         Type:  defect     |     Status:  new
     Priority:  normal     |  Milestone:  undecided
    Component:  packaging  |    Version:  1.10.0
   Resolution:             |   Keywords:  design-review-needed
Launchpad Bug:             |
---------------------------+----------------------------------

Comment (by glyph):

 > the current Twisted[osx_platform] includes pyobjc, which is gigantic,
 not available as wheels, takes something like an hour to compile, and not
 something we need (yet.. if/when we manage a non-web-based GUI, it may
 become necessary).

 This is actually necessary for doing anything that talks to OS X platform
 APIs, even those that have nothing to do with the GUI, like CoreLocation,
 and CoreWLAN, and SCNetworkReachability.

 However, Twisted's dependency on ''all'' of pyobjc is somewhat mistaken;
 we could get away with just `pyobjc-core` and `pyobjc-framework-Cocoa`
 which should be substantially faster to install.

 In the meanwhile, for developers that do a lot with tahoe, if they're
 hitting this problem now, one way to jump-start your local wheel cache is
 to make a temporary virtualenv, and then do:

 {{{
 pip install pyobjc-core
 pip install pyobjc
 }}}

 as two separate commands; compiling pyobjc's frameworks is much, much
 faster if you already have an importable `pyobjc-core` in your
 environment.  Once you've done this once, `pip install pyobjc` will be
 plenty fast since you'll have local wheels.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2392#comment:11>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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