Re: [Distutils] setup.cfg - to interpolate or not to interpolate

2017-07-27 Thread Robert Collins
On 28 July 2017 at 15:34, Nick Coghlan wrote: > On 28 July 2017 at 13:30, Nick Coghlan wrote: >> On 28 July 2017 at 01:32, Jason R. Coombs wrote: >>> I’d like feedback, in either ticket, about whether this change is worth the >>>

Re: [Distutils] setup.cfg - to interpolate or not to interpolate

2017-07-27 Thread Nick Coghlan
On 28 July 2017 at 13:30, Nick Coghlan wrote: > On 28 July 2017 at 01:32, Jason R. Coombs wrote: >> I’d like feedback, in either ticket, about whether this change is worth the >> trouble and if so if there are any ways to mitigate the risks of introducing

Re: [Distutils] setup.cfg - to interpolate or not to interpolate

2017-07-27 Thread Nick Coghlan
On 28 July 2017 at 01:32, Jason R. Coombs wrote: > I’d like feedback, in either ticket, about whether this change is worth the > trouble and if so if there are any ways to mitigate the risks of introducing > such a change. The one way I can see of doing this with a graceful

Re: [Distutils] how to build a python extension with a shared object in osx10.11

2017-07-27 Thread Nathaniel Smith
Try libraries=["foo"] – this should cause it to pass "-lfoo" to the linker, and then the linker will convert that into "libfoo.dylib". On Jul 27, 2017 11:11 AM, "bin" wrote: > I have installed libfoo.dylib into /usr/local/lib > > And my python extension's setup.py: > >

[Distutils] how to build a python extension with a shared object in osx10.11

2017-07-27 Thread bin
I have installed libfoo.dylib into /usr/local/lib And my python extension's setup.py: from distutils.core import setup, Extension module1 = Extension('bar', libraries=['libfoo2.dylib', ], language="c++", extra_compile_args=['-v', ],

[Distutils] setup.cfg - to interpolate or not to interpolate

2017-07-27 Thread Jason R. Coombs
In Setuptools #889 (https://github.com/pypa/setuptools/issues/889) and Python 20754 (http://bugs.python.org/issue20754), setuptools and distutils are proposing a backward-incompatible change - to remove ConfigParser interpolation when parsing setup.cfg (and maybe other config) files. I’d

Re: [Distutils] PyPi’s predictable download url

2017-07-27 Thread Paul Moore
On 27 July 2017 at 11:06, Alex Grönholm wrote: >>> I didn't get the impression that this was the problem the OP was >>> hitting, and it's certainly not what I'd recommend for him, but you >>> should be able to just clone the virtualenv repo and run ```python >>>

Re: [Distutils] PyPi’s predictable download url

2017-07-27 Thread Alex Grönholm
Wes Turner kirjoitti 27.07.2017 klo 02:36: On Wednesday, July 26, 2017, Paul Moore > wrote: On 26 July 2017 at 15:52, Alexander Belopolsky wrote: > On Wed, Jul 26, 2017 at 10:21 AM, Nick Coghlan