* [Buildroot] Private mirror repository for Python package dependencies -- howto?
@ 2017-09-29 16:53 Robert Lerche
2017-09-29 19:51 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Robert Lerche @ 2017-09-29 16:53 UTC (permalink / raw)
To: buildroot
Buildroot provides a simple and effective means to specify a private mirror
for package source code components (BR2_PRIMARY_SITE). This is essential
for a company basing an embedded system product on Buildroot.
Is there an equivalent mechanism to support a private repository for Python
package dependencies? Otherwise distutils and setuptools will fetch from
public sources even though the package base comes from the private mirror.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170929/9035b667/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Private mirror repository for Python package dependencies -- howto?
2017-09-29 16:53 [Buildroot] Private mirror repository for Python package dependencies -- howto? Robert Lerche
@ 2017-09-29 19:51 ` Thomas Petazzoni
2017-10-03 20:51 ` Robert Lerche
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-09-29 19:51 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 29 Sep 2017 09:53:25 -0700, Robert Lerche wrote:
> Buildroot provides a simple and effective means to specify a private mirror
> for package source code components (BR2_PRIMARY_SITE). This is essential
> for a company basing an embedded system product on Buildroot.
>
> Is there an equivalent mechanism to support a private repository for Python
> package dependencies? Otherwise distutils and setuptools will fetch from
> public sources even though the package base comes from the private mirror.
This should never happen. If a Python package downloads its
dependencies by itself without going through Buildroot's download
mechanism, it's a bug.
Could you give a more specific example of a problematic Python package ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Private mirror repository for Python package dependencies -- howto?
2017-09-29 19:51 ` Thomas Petazzoni
@ 2017-10-03 20:51 ` Robert Lerche
0 siblings, 0 replies; 3+ messages in thread
From: Robert Lerche @ 2017-10-03 20:51 UTC (permalink / raw)
To: buildroot
Thanks for your response.
At the request of one of our developers I added Python connexion (
https://pypi.python.org/pypi/connexion) which in turn pulled in a bunch of
other components (flake8, mccabe, pyflakes, pycodestyle, pytest-runner).
Reading between the lines of your mail, I added each of those components
individually to my customized Buildroot and that takes care of the issue.
On Fri, Sep 29, 2017 at 12:51 PM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Fri, 29 Sep 2017 09:53:25 -0700, Robert Lerche wrote:
> > Buildroot provides a simple and effective means to specify a private
> mirror
> > for package source code components (BR2_PRIMARY_SITE). This is essential
> > for a company basing an embedded system product on Buildroot.
> >
> > Is there an equivalent mechanism to support a private repository for
> Python
> > package dependencies? Otherwise distutils and setuptools will fetch from
> > public sources even though the package base comes from the private
> mirror.
>
> This should never happen. If a Python package downloads its
> dependencies by itself without going through Buildroot's download
> mechanism, it's a bug.
>
> Could you give a more specific example of a problematic Python package ?
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171003/2334f1fd/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-03 20:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-29 16:53 [Buildroot] Private mirror repository for Python package dependencies -- howto? Robert Lerche
2017-09-29 19:51 ` Thomas Petazzoni
2017-10-03 20:51 ` Robert Lerche
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.