sa-mw-dach / manuela

MANUfacturing Edge Lightweight Accelerator
Apache License 2.0
40 stars 24 forks source link

Python build caching in separate container for faster builds #309

Open flg77 opened 4 years ago

wrichter commented 4 years ago

Gibt es ein Kommando, das man einem python build mitgeben kann, damit er irgendwelche heruntergeladenen Artefakte in einem Verzeichnis ablegt/cached bzw. dort sucht?

flg77 commented 4 years ago

Hello,

habe mir einen devpi Container gebaut. Dieser cached mir die Artefakte.

https://pypi.org/project/devpi/

Bis Montag !

Gruss,

flg

On Fri, May 15, 2020 at 7:40 PM Wolfram Richter notifications@github.com wrote:

Gibt es ein Kommando, das man einem python build mitgeben kann, damit er irgendwelche heruntergeladenen Artefakte in einem Verzeichnis ablegt/cached bzw. dort sucht?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sa-mw-dach/manuela/issues/309#issuecomment-629390519, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJPB6CVP367CEQGQTPUKILRRV5BPANCNFSM4MZKSBTA .

-- Beste Grüße/Kind regards/Saludos cordiales

Francisco Javier Lopez Grüber Solution Architect, FSI / Manufacturing DACH , RHCE

Messeturm, Friedrich Ebert Anlage 49, 60308 Frankfurt am Main

jlopezyg@redhat.com M: +49-171-4917726

redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted Twitter: @RedHat | LinkedIn: linkedin.com/company/red-hat | Facebook: facebook.com/RedHatInc

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Laurie Krebs, Michael O'Neill, Thomas Savage

wrichter commented 4 years ago

Also dazu muss mein einen separaten Server betreiben (analog Nexus für Java?) Es gibt keine Möglichkeit dem Python build einfach zu sagen "hier findest du die Pakete im Dateisystem und wenn du eins runterladen musst leg es da ab"?

flg77 commented 4 years ago

Na ja, schon.

pip cache dir == i. d .R. ~/.cache/pip

Alternative kannst Du dir ein Wheel anlegen, soweit ich mich erinnere.

pip --cache-dir -> alternativer pfad pip wheel --wheel-dir= /mein/dir pip install /mein/dir/mein/paket

On Sat, May 16, 2020 at 1:49 PM Wolfram Richter notifications@github.com wrote:

Also dazu muss mein einen separaten Server betreiben (analog Nexus für Java?) Es gibt keine Möglichkeit dem Python build einfach zu sagen "hier findest du die Pakete im Dateisystem und wenn du eins runterladen musst leg es da ab"?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sa-mw-dach/manuela/issues/309#issuecomment-629633538, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJPB6A5BNZ46IFCWEJGV2TRRZ4VLANCNFSM4MZKSBTA .

-- Beste Grüße/Kind regards/Saludos cordiales

Francisco Javier Lopez Grüber Solution Architect, FSI / Manufacturing DACH , RHCE

Messeturm, Friedrich Ebert Anlage 49, 60308 Frankfurt am Main

jlopezyg@redhat.com M: +49-171-4917726

redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted Twitter: @RedHat | LinkedIn: linkedin.com/company/red-hat | Facebook: facebook.com/RedHatInc

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Laurie Krebs, Michael O'Neill, Thomas Savage