37 lines
925 B
Plaintext
37 lines
925 B
Plaintext
|
Metadata-Version: 2.1
|
||
|
Name: install
|
||
|
Version: 1.3.5
|
||
|
Summary: Install packages from within code
|
||
|
Home-page: https://github.com/eugenekolo/pip-install
|
||
|
Author: Eugene Kolo
|
||
|
Author-email: eugene@kolobyte.com
|
||
|
License: MIT
|
||
|
Keywords: install packages from within code
|
||
|
Platform: UNKNOWN
|
||
|
Classifier: Programming Language :: Python :: 3
|
||
|
Classifier: License :: OSI Approved :: MIT License
|
||
|
Classifier: Operating System :: OS Independent
|
||
|
Requires-Python: >=2.7, >=3.5
|
||
|
Description-Content-Type: text/markdown
|
||
|
License-File: LICENSE
|
||
|
|
||
|
# 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'])
|
||
|
```
|
||
|
|
||
|
|