Skip to content

Bootstrapping script used to create virtualenv and install requirements into it.

Notifications You must be signed in to change notification settings

mklymyshyn/bootstrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bootstrap.py

Self-updating bootstrap script for preparation of environment for Python projects.

Installation

Copy bootstrap.py to your Python project.

Usage

$ python bootstrap.py --help
Usage: bootstrap.py [options]

Options:
  -h, --help            show this help message and exit
  -p PRE_REQUIREMENTS, --pre-requirements=PRE_REQUIREMENTS
                        File with list of pre-reqs
  -E VIRTUALENV, --virtualenv=VIRTUALENV
                        Path to virtualenv to use
  -P INTERPRETER, --python=INTERPRETER
                        Path to Python Interpreter to use
  -s, --no-site         Don't use global site-packages on create virtualenv
  -u, --upgrade         Upgrade packages
  -b, --enable-bootstrap-update
                        Enable self-update of bootstrap script
  -U URL, --bootstrap-url=URL
                        URL to use for updating bootstrap script. By default:
                        'https://raw.github.com/jellycrystal/bootstrap/master/
                        bootstrap.py'
  -c PATH, --config=PATH
                        Path to config file to use. By default:
                        'bootstrap.cfg'

How it works

  • First of all, script checks project preliminary requirements
  • Then creates virtual environment if necessary
  • Then installs pip requirements to virtual environment
  • And finally passes control to doit

Warning

At the current time not all available options are covered in this README. More information is coming soon.

About

Bootstrapping script used to create virtualenv and install requirements into it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%