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 wrote: > On 21 February 2014 13:24, Paul Moore 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 c

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 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? > > sysconfig.get_path("scripts") sho

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. >>> i

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 08:55, Piotr Dobrogost wrote: > 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 scri

[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 pat