[03:29:12] <askhader> I'm getting this error when trying to install lxml via pip on MacOS10.12 https://gist.github.com/sorter/0aa4b1c2dcfea221acfb49b4e18ec2c9
[03:29:29] <askhader> Is there a development library I'm missing?
[04:02:00] <tdsmith> askhader: i can reproduce on 10.11
[06:25:37] <_pHI_> i noticed that my default install location for "pip install pkg" is (e.g.) /usr/local/include/python2.7 whereas Ubuntu has /usr/include/python2.7 by default. Is there a switch to pip that would install into the latter dir?
[06:26:44] <apollo13> _pHI_: that would be a bad idea
[06:27:23] <mgedmin> pip-installed packages installing C header files? I'm curious
[06:27:51] <apollo13> even then there is CPATH and the likes you make it findable properly without interfering with $system
[06:32:18] <_pHI_> mgedmin: yes, for example pybind11
[06:32:56] <apollo13> _pHI_: and why exactly would those files need to be in /usr/something instead of properly in /usr/local?
[06:33:16] <_pHI_> then `python-config --cflags --ldflags` is all i need to call
[06:33:24] <_pHI_> this only returns the /usr includes etc.
[06:33:50] <apollo13> that is for linking against python
[06:34:03] <apollo13> not for other software that installs header files
[12:25:22] <lystra> Hi.Hopefully this is the correct forum for this question. If not, I apologize. Usually, when I build a Python module that is written in C to link against some external library I modify setup.cfg to pass in the path of my external library to be used for CPPFLAGS/LDFLAGS like so: http://pastebin.com/Eudbb9pm. This works fine for building the shared Python library. Should this also work when "python setup.py test" tries to build a shared libr
[12:25:23] <lystra> ary during the test process? Doesn't seem to be working with cryptography-1.4 module.
[14:48:33] <askhader> Can anyone help point me in the right direction towards fixing this lxml install error? https://gist.github.com/sorter/7a6f021bae67559657a68d07500ececb
[14:52:51] <dstufft> askhader: probably need to install libxml-dev or something like that
[15:04:53] <Wooble> askhader: lxml recommends using "STATIC_DEPS=true sudo pip install lxml" (which is bad advice, but possibly close to correct if you take out the sudo)
[15:07:43] <Wooble> askhader: they're a built distribution format so you don't have to muck about with compilers and dependencies.
[15:08:02] <Wooble> 3.6.3 has manylinux wheels for the first time, but no OS X or windows yet.
[15:10:11] <askhader> Wooble: I got this error https://gist.github.com/sorter/8fd7d5854ee01cab7bbad81e8476ed0e
[15:10:57] <Wooble> askhader: with STATIC_DEPS=true?
[15:15:41] <Wooble> (I no longer have access to a mac to check, but I think librt is a new dependency if it's not part of OS X; I've only had to install libxml2 and libxslt in the past...
[16:49:05] <skyraider> hi, i'm wondering how to include wheels in `install_requires` declarations. the result seems to be 'Could not find suitable distribution' and 'No local packages or working download links found', unless the package (which is on pypi) also has an sdist for the specified version.
[17:27:29] <gp_tablet> is there a simple way to print a resolved requirements.txt file to stdout?
[17:27:45] <gp_tablet> once all the the -r somefile.txt lines have been parsed and included?
[17:28:02] <gp_tablet> remote references are causing me problems building a docker file
[17:37:27] <gp_tablet> Is my best bet going to be using something like basecommand.RequirementCommand?
[18:49:29] <tdsmith> dstufft: askhader: Wooble: fwiw that build error is a lxml bug introduced just before their last release https://bugs.launchpad.net/lxml/+bug/1614693
[18:49:35] <tdsmith> apparently they don't test on os x