Re: [Distutils] Distributing packages to offline machines

2018-04-07 Thread Nick Coghlan
On 7 April 2018 at 12:21, Wes Turner wrote: > > > On Friday, April 6, 2018, Ben Finney wrote: >> >> Nick Coghlan writes: >> >> > Keep a requirements.txt file or `Pipfile` in source control, then run >> > CI jobs based on that

Re: [Distutils] Distributing packages to offline machines

2018-04-06 Thread Wes Turner
On Friday, April 6, 2018, Ben Finney wrote: > Nick Coghlan writes: > > > Keep a requirements.txt file or `Pipfile` in source control, then run > > CI jobs based on that repo […] > > What is a “Pipfile”? https://docs.pipenv.org/

Re: [Distutils] Distributing packages to offline machines

2018-04-06 Thread Ben Finney
Nick Coghlan writes: > Keep a requirements.txt file or `Pipfile` in source control, then run > CI jobs based on that repo […] What is a “Pipfile”? -- \ “Software patents provide one more means of controlling access | `\ to information. They are the tool of

Re: [Distutils] Distributing packages to offline machines

2018-04-06 Thread Nick Coghlan
On 5 April 2018 at 11:11, Eric Gorr wrote: > I had a question about distributing python packages to offline machines when > the offline machine is running a different OS then a machine with an > internet connection. The packages I am concerned with are third party upon > which

Re: [Distutils] Distributing packages to offline machines

2018-04-05 Thread Thomas Kluyver
On Thu, Apr 5, 2018, at 2:11 AM, Eric Gorr wrote: > (c) use https://warehouse.pypa.io/api-reference/json to look for > distributed wheels for the target OS and python version and > download them directly. (This may make for a nice flag to add to > pip somewhere...the ability to specify

Re: [Distutils] Distributing packages to offline machines

2018-04-04 Thread Wes Turner
Have you already tried `pip download --platform`? https://pip.pypa.io/en/stable/reference/pip_download/#cmdoption-platform It may be worth setting up devpi (maybe in a container) and caching the packages; particularly for CI: https://packaging.python.org/guides/index-mirrors-and-caches/

[Distutils] Distributing packages to offline machines

2018-04-04 Thread Eric Gorr
I had a question about distributing python packages to offline machines when the offline machine is running a different OS then a machine with an internet connection. The packages I am concerned with are third party upon which mine depend. Based on what I have learned so far, there are three