Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
17 lines (12 loc) · 408 Bytes

README.md

File metadata and controls

executable file
·
17 lines (12 loc) · 408 Bytes

install

A package to install pip packages from within code.

Requires Python 2.7+, 3.5+

Usage:

import install
install.install('pkg_you_want')

# ... after retrieving a requirements.txt from the web or somewhere else
install.install('requirements.txt', requirements=True)

# ... need arbitary options?
install.install('my_pkg', pip_options=['--isolated'], install_options=['--no-clean', '--pre'])