Re: disable building wheel for a package

Daniel Holth <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CAG8k2+4Qp3uiEdQoK_ectB30i2c+g0Jcs2eVQjdy6RnZxQhMVw@mail.gmail.com>
No one wants wheel to be able to install things outside of the virtualenv.
What people have repeatedly asked for is the ability to install things
somewhere besides $VIRTUAL_ENV/lib/python#.#/site-packages/, places like
$VIRTUAL_ENV/etc/ for example.
Should all the config files, documentation, data, man pages, licenses,
images, go into $VIRTUAL_ENV/lib/python#.#/site-packages/? Or can we do a
better job letting people put files in $VIRTUAL_ENV/xyz?

On Fri, Sep 14, 2018 at 9:51 AM sashk <[email protected]> wrote:

>
>
> 14.09.2018, 08:37, "Paul Moore" <[email protected]>:
>
> On Fri, 14 Sep 2018 at 12:43, Jeroen Demeyer <[email protected]> wrote:
>
>  On 2018-09-14 12:55, Alex Grönholm wrote:
>  > I'm curious: what data does it attempt to install and where? Have you
>  > created a ticket for this somewhere?
>
>  The OP mentioned absolute paths. However, it really sounds like a bad
>  idea to hard-code an absolute installation path. Let's consider it a
>  feature that wheel doesn't support that.
>
>
> The OP hasn't said, but I assumed that it was expecting to install
> something in a "standard" Unix location like /etc.
>
> No, I'm not installing anything into standard unix locations. My package
> is for internal use, so we had a luxury to write it specifically for use
> with virtual environment.
>
> We need to install Jupyter kernels (and other files) into
> $VIRTUAL_ENV/etc/jupyter and $VIRTUAL_ENV/share/jupyter paths. This was
> done with the help of data_files, and works unless we build wheel, because
> of use of absolute paths.
>
> Do I understand correctly, that when using relative paths in the
> data_files and installing package into virtual environment,  installation
> prefix is sys.prefix and it is the same as $VIRTUAL_ENV?
>
> Thanks.
> --
> Distutils-SIG mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/mm3/archives/list/[email protected]/message/AR65F7SMLRN54FKZ6EI6LKZZDCVFNKUX/
>

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/YSMYRZDS3DESU6YOCVSGP7ZMGQJUAK77/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.