offline maintenance of Python modules

Asked

Viewed 104 times

5

Due to problems with internet where I live, I need to maintain the packages and install new ones without the internet connection, keeping a microservicer mounted on Nanopi so that I get the files there.

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

1 answer

3

One solution is to use the tool minirepo that allows you to download Python packages from Pypi no internet.


The easiest way to install it is to use the pip:

$ pip install minirepo

Or download the package file on https://pypi.python.org/pypi/minirepo next:

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

You can also use the git:

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

To documentation of use is simple.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.