offline maintenance of Python modules

5

Due to problems with the internet where I am living, I need to keep the packages and install new ones without the connection to the internet, keeping a microserver mounted on NanoPi so that I can get the files.

What tool and procedure should I use to maintain and install such Python modules?

    
asked by anonymous 13.05.2017 / 20:39

1 answer

3

One solution is to use the minirepo tool to download Python packages from PyPI without internet.

The easiest way to install it is to use pip :

$ pip install minirepo

Or download the package file at link then:

$ tar xvzf minirepo-1.0.3.tar.gz
$ cd minirepo-1.0.3
$ python setup.py install

You can also use git :

$ git clone https://github.com/sganis/minirepo.git
$ cd minirepo
$ python setup.py install

The documentation is simple to use.

    
23.11.2018 / 15:38