document STATICBUILD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A while ago I had contributed a patch to automatically download pre-built dependencies on Windows and statically link against them. See http://
This requires the use of STATICBUILD environment variable (which is what the PyPM build uses). This environment variable configures lxml for both static linking and auto-download of pre-built dependencies (both on OSX and Windows).
The installation document speaks of `STATIC_DEPS=True` ... which works only on OSX. Perhaps that should be changed to this?
$ STATICBUILD=true easy_install lxml
This works on both OSX and Windows 32-bit (TODO: we need to do the same for 64-bit).
Additionally STATIC_DEPS can be deprecated, would you agree?
Changed in lxml: | |
milestone: | none → 2.3.1 |
status: | New → Fix Released |
BTW, the original idea behind 'STATICBUILD' is to informally/ gradually standardize on an environment variable that will allow Python users to install a module without having to install the dependencies themselves (especially on Windows). So for instance, "STATICBUILD=true easy_install numpy" *can* be made to work by downloading pre-built ATLAS libraries.