Re: [Distutils] How to link to a c library ?

2014-02-21 Thread David Cournapeau
On Wed, Feb 19, 2014 at 8:30 AM, chaouche yacine yacinechaou...@yahoo.comwrote: What I was trying to accomplish --- I tried to upgrade numpy # pip install --upgrade numpy.../chaouche/build/numpy/numpy/numarray/_capi.c:198:undefined reference to `log10'

[Distutils] pip 1.5.4 and virtualenv 1.11.4

2014-02-21 Thread Donald Stufft
I've just released pip 1.5.4 and virtualenv 1.11.4 which corrects an issue causing pip to always display a deprecation warning when invoked. - Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA signature.asc Description: Message signed

[Distutils] Cross-platform way to get default directory for binary files like console scripts?

2014-02-21 Thread Piotr Dobrogost
Hi! I posted (https://groups.google.com/forum/#!topic/comp.lang.python/s3vLkVy2xJk) to comp.lang.python yesterday the following question: --- Is there cross-platform way to get default directory for binary files (console scripts for instance) the same way one can use sys.executable to get

Re: [Distutils] Cross-platform way to get default directory for binary files like console scripts?

2014-02-21 Thread Vinay Sajip
Is there cross-platform way to get default directory for binary files (console scripts for instance) Well, there's $ /tmp/venv/bin/python Python 3.3.0+ (3.3:c28b0b4e872b, Mar 25 2013, 17:51:34) [GCC 4.6.1] on linux Type help, copyright, credits or license for more information. import

Re: [Distutils] Cross-platform way to get default directory for binary files like console scripts?

2014-02-21 Thread Oscar Benjamin
On 21 February 2014 13:24, Paul Moore p.f.mo...@gmail.com wrote: Is there cross-platform way to get default directory for binary files (console scripts for instance) the same way one can use sys.executable to get path to the Python's interpreter in cross-platform way?

Re: [Distutils] Cross-platform way to get default directory for binary files like console scripts?

2014-02-21 Thread Paul Moore
On 21 February 2014 17:04, Oscar Benjamin oscar.j.benja...@gmail.com wrote: On 21 February 2014 13:24, Paul Moore p.f.mo...@gmail.com wrote: Is there cross-platform way to get default directory for binary files (console scripts for instance) the same way one can use sys.executable to get path

[Distutils] what exactly does `wheel keygen` w/ `sign` do?

2014-02-21 Thread Brett Cannon
So I'm trying to be a good Python project owner for https://github.com/brettcannon/caniusepython3 so that means wanting to produce a universal wheel. While reading up on exactly what is needed I noticed there is `wheel keygen` which feeds `wheel sign`. But what exactly is the keygen producing?

Re: [Distutils] what exactly does `wheel keygen` w/ `sign` do?

2014-02-21 Thread Donald Stufft
On Feb 21, 2014, at 2:11 PM, Brett Cannon br...@yvrsfo.ca wrote: So I'm trying to be a good Python project owner for https://github.com/brettcannon/caniusepython3 so that means wanting to produce a universal wheel. While reading up on exactly what is needed I noticed there is `wheel

Re: [Distutils] what exactly does `wheel keygen` w/ `sign` do?

2014-02-21 Thread Brett Cannon
Well, I'll at least use what twine supports. =) On Fri, Feb 21, 2014 at 2:17 PM, Donald Stufft don...@stufft.io wrote: On Feb 21, 2014, at 2:11 PM, Brett Cannon br...@yvrsfo.ca wrote: So I'm trying to be a good Python project owner for https://github.com/brettcannon/caniusepython3 so that

Re: [Distutils] what exactly does `wheel keygen` w/ `sign` do?

2014-02-21 Thread Daniel Holth
On Fri, Feb 21, 2014 at 2:17 PM, Donald Stufft don...@stufft.io wrote: On Feb 21, 2014, at 2:11 PM, Brett Cannon br...@yvrsfo.ca wrote: So I'm trying to be a good Python project owner for https://github.com/brettcannon/caniusepython3 so that means wanting to produce a universal wheel. While

Re: [Distutils] what exactly does `wheel keygen` w/ `sign` do?

2014-02-21 Thread Brett Cannon
Well, the docs gave the gpg command to use and made the good point that doing so meant not typing your GPG passphrase into a strange app. Anyway, https://pypi.python.org/pypi/caniusepython3 is now live and has both an sdist and universal wheel which are both signed with my creaky GPG key. On

Re: [Distutils] what exactly does `wheel keygen` w/ `sign` do?

2014-02-21 Thread Daniel Holth
Woot On Fri, Feb 21, 2014 at 3:32 PM, Brett Cannon br...@yvrsfo.ca wrote: Well, the docs gave the gpg command to use and made the good point that doing so meant not typing your GPG passphrase into a strange app. Anyway, https://pypi.python.org/pypi/caniusepython3 is now live and has both an

Re: [Distutils] what exactly does `wheel keygen` w/ `sign` do?

2014-02-21 Thread Donald Stufft
Yea it does that too :) I was just being too lazy to type the docs out again :) On Feb 21, 2014, at 3:32 PM, Brett Cannon br...@yvrsfo.ca wrote: Well, the docs gave the gpg command to use and made the good point that doing so meant not typing your GPG passphrase into a strange app. Anyway,

Re: [Distutils] what exactly does `wheel keygen` w/ `sign` do?

2014-02-21 Thread Brett Cannon
Hey, I'm just glad that `twine upload dist/*` with the .asc files in that directory did the right thing. Something to mention if you ever decide to update the docs. On Fri, Feb 21, 2014 at 3:34 PM, Donald Stufft don...@stufft.io wrote: Yea it does that too :) I was just being too lazy to type