module win_installer.win_setup_main_helper
¶
Short summary¶
module pymyinstall.win_installer.win_setup_main_helper
Helpers for function win_python_setup()
Functions¶
function | truncated documentation |
---|---|
copy_icons |
copy all files from src to dest |
create_links_tools |
create links for the tools |
dtnow |
shortcut, return |
win_download |
The function downloads everything needed to prepare a setup. |
win_download_notebooks |
download notebooks and store them as documentation |
win_install |
Install setups |
win_install_julia_step |
does necessary steps to setup Julia |
win_install_r_step |
does necessary steps to setup R |
Documentation¶
Helpers for function win_python_setup
-
pymyinstall.win_installer.win_setup_main_helper.
copy_icons
(src, dest)[source]¶ copy all files from src to dest
Parameters: - src – source
- dest – destination
Returns: operations
-
pymyinstall.win_installer.win_setup_main_helper.
create_links_tools
(folder, installed, verbose=False, fLOG=<built-in function print>)[source]¶ create links for the tools
Parameters: - folder – where links will be stored
- installed – dictionary { tool: exe file }
- verbose – display more information
- fLOG – logging function
Returns: operations, list of tuple (“link”, link file)
-
pymyinstall.win_installer.win_setup_main_helper.
dtnow
()[source]¶ shortcut, return
datetime.datetime.now()
-
pymyinstall.win_installer.win_setup_main_helper.
win_download
(folder='build/win_python_setup', module_list=None, verbose=False, fLOG=<built-in function print>, download_only=False, selection=None)[source]¶ The function downloads everything needed to prepare a setup.
Parameters: - folder – where to prepare the python version
- module_list – list of module to install (see
minimal_set
= default options) - fLOG – logging function
- download_only – only downloads
- verbose – print more information
- selection – selection of tools to install
Returns: list of completed operations
-
pymyinstall.win_installer.win_setup_main_helper.
win_download_notebooks
(notebooks, folder, verbose=False, fLOG=<built-in function print>)[source]¶ download notebooks and store them as documentation
Parameters: - notebooks – list of tuple (place, url)
- folder – where to put them
- verbose – verbose
- fLOG – logging function
Returns: list of operations
-
pymyinstall.win_installer.win_setup_main_helper.
win_install
(folders, download_folder, verbose=False, fLOG=<built-in function print>, names=['Julia', 'Scite', '7z', 'MinGW', 'R', 'pandoc', 'Python', 'SQLiteSpy', 'VS'], selection=None)[source]¶ Install setups
Parameters: - folders – dictionary of folders, must contain key tools, python
- download_folder – where the setup are
- fLOG – logging function
- verbose – print more information
- names – name of subfolders to be created
- selection – selection of tools to install
Returns: list of completed operations, executable (to make shortcuts)
The function installs every setup which starts by one of the string in names and whose extension is .exe, .msi or .zip.