Skip to content

tomaslu/python_lib_env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python_lib_env

Command line tool for generating script for installing all currently installed libraries through pip

Usage

usage: python_lib_env.py [-h] [-v] [-s] [-o OUTPUT]

Generates list of commands for installing all libraries currently installed on the system. All arguments are optional.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         use library version
  -s, --sudo            execute all commands as "sudo"
  -o OUTPUT, --output OUTPUT
                        output file for commands

For example, command:

python python_lib_env.py -v -s

would produce output in which every command would be executed as sudo and currently installed version would be installed. So, output would look something like this:

sudo pip install argparse==1.2.1
sudo pip install distribute==0.6.24
sudo pip install wsgiref==0.1.2

About

Command line tool for generating script for installing all currently installed libraries through pip

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages