Re: Bug in pybuild's handling of --install-lib? [Was: Re: entry-point script and private module install directory]

2016-05-12 Thread Ghislain Vaillant
On 12/05/16 13:16, Piotr Ożarowski wrote: [Ghislain Vaillant, 2016-05-12] Is this a bug in pybuild or am I missing something? you're missing my second reply¹ [¹] https://lists.debian.org/debian-python/2016/05/msg00043.html Indeed, sorry for the noise. Thanks again for the support. Ghis

Re: Bug in pybuild's handling of --install-lib? [Was: Re: entry-point script and private module install directory]

2016-05-12 Thread Piotr Ożarowski
[Ghislain Vaillant, 2016-05-12] > Is this a bug in pybuild or am I missing something? you're missing my second reply¹ [¹] https://lists.debian.org/debian-python/2016/05/msg00043.html -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc

Bug in pybuild's handling of --install-lib? [Was: Re: entry-point script and private module install directory]

2016-05-12 Thread Ghislain Vaillant
On 12/05/16 09:22, Ghislain Vaillant wrote: On 11/05/16 18:55, Piotr Ożarowski wrote: you can create a wrapper or patch /usr/bin script to sys.path.append('/usr/share/pyfr') but the easiest solution is to install the script to /usr/share/pyfr/ (if the module is "pyfr" as well, simply rename the

Re: entry-point script and private module install directory

2016-05-12 Thread Ghislain Vaillant
On 11/05/16 18:55, Piotr Ożarowski wrote: [Ghislain Vaillant, 2016-05-11] Dear all, I have a package (pyfr), which is meant to be used as a command-line application only. The main script (pyfr) is installed via setuptools' entry_points['console_scripts'], which generates the entry-point automa

Re: entry-point script and private module install directory

2016-05-11 Thread Piotr Ożarowski
FTR: [Piotr Ożarowski, 2016-05-11] > dh_auto_install -- --install-lib=/usr/share/pyfr/ this one ^ should be: dh_auto_install -- --install-args='--install-lib=/usr/share/pyfr/' or you can: export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/pyfr/ (thanks to Dmitry Shachnev for notici

Re: entry-point script and private module install directory

2016-05-11 Thread Piotr Ożarowski
[Ghislain Vaillant, 2016-05-11] > Dear all, > > I have a package (pyfr), which is meant to be used as a command-line > application only. > > The main script (pyfr) is installed via setuptools' > entry_points['console_scripts'], which generates the entry-point > automatically and places it under /