module __init__
¶
Short summary¶
module pymyinstall
pymyinstall installs package on Windows and Linux. It automatically chooses a location for a long list of package. To install a list of modules for a machine learner:
from pymyinstall import complete_installation, install_scite, install_pandoc, open_tool_on_browser
for _ in complete_installation():
_.install(temp_folder="install")
You can also install some useful tools:
from pymyinstall import install_scite, install_pandoc
install_scite("install")
install_pandoc("install")
To download a module:
from pymyinstall import download_module
download_module("module_name")
To install a module:
from pymyinstall import install_module
install_module("module_name")
Functions¶
function |
truncated documentation |
---|---|
does nothing |
|
Checks the library is working. It raises an exception. If you want to disable the logs: |
|
tells if is a travis environment or appveyor |
Documentation¶
pymyinstall installs package on Windows and Linux. It automatically chooses a location for a long list of package. To install a list of modules for a machine learner:
from pymyinstall import complete_installation, install_scite, install_pandoc, open_tool_on_browser
for _ in complete_installation():
_.install(temp_folder="install")
You can also install some useful tools:
from pymyinstall import install_scite, install_pandoc
install_scite("install")
install_pandoc("install")
To download a module:
from pymyinstall import download_module
download_module("module_name")
To install a module:
from pymyinstall import install_module
install_module("module_name")
- pymyinstall._setup_hook()¶
does nothing
- pymyinstall.check(log=False)¶
Checks the library is working. It raises an exception. If you want to disable the logs:
- Parameters:
log – if True, display information, otherwise
- Returns:
0 or exception
- pymyinstall.is_travis_or_appveyor()¶
tells if is a travis environment or appveyor
- Returns:
travis, appveyor or None
New in version 1.1.