Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Help] Building from a private PyPi server
@ 2023-02-27  0:17 Alberto Fahrenkrog
  2023-02-27  0:21 ` Alberto Fahrenkrog
  2023-02-27 14:57 ` Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Alberto Fahrenkrog @ 2023-02-27  0:17 UTC (permalink / raw)
  To: buildroot@buildroot.org


[-- Attachment #1.1.1: Type: text/plain, Size: 1483 bytes --]

Hello all,

In our company we have custom Python packages stored in a private PyPi server. To install them we simply add the --extra-index-url in our requirements.txt file when using pip. The packages are also available for manual download from the server, however all URLs to any .tar.gz file are in the form https://git.ourserver.com/packages/pypi/package-name/version-number/files/1234. This leads me to the following options (I think):


  *   Try to get Buildroot to use the private PyPi server. I had a look at the "scanpypi" script and it generated the .mk and .in files for a regular PyPi package, but I could not find a way to tell scanpypi to use an extra url or private pypi address
  *   Find a way, using wget, to download the package from the address above. Unfortunately I've had no luck with that yet. With the command: wget https://ourserver.com/-/packages/pypi/package-name/version_nr/files/5525 --header 'Authorization: token AUTH_TOKEN' --output-document=filename.tar.gz I was not able to get a correct tar.gz file. But that's more my problem than a Buildroot issue.
  *   Download the file manually and have Buildroot use a local file. I will try that for the time being, although it seems the least automated possibility.

If you guys have any other ideas I'd like to hear them.

Cheers,

Alberto

Alberto Fahrenkrog Senior Embedded Engineer
Orica - Perth Technology Centre
p: +61 (0) 8 6365 4056
e: Alberto.Fahrenkrog@rigtechnologies.com.au

[-- Attachment #1.1.2: Type: text/html, Size: 6055 bytes --]

[-- Attachment #1.2: image497442.png --]
[-- Type: image/png, Size: 14270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-28  9:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-27  0:17 [Buildroot] [Help] Building from a private PyPi server Alberto Fahrenkrog
2023-02-27  0:21 ` Alberto Fahrenkrog
2023-02-27 14:57 ` Peter Korsgaard
2023-02-28  7:43   ` Alberto Fahrenkrog
2023-02-28  9:37     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox