Source code for pymyinstall.packaged.packaged_config_0_minimal

# -*- coding: utf-8 -*-
"""
Defines a very small set of modules.


:githublink:`%|py|6`
"""
import sys


[docs]def minimal_set(): """ list of modules to add to python to get a minimal python :githublink:`%|py|12` """ names = [ "autopep8", 'entrypoints', "flake8", 'markupsafe', "mccabe", "pep8", "pipdeptree", "psutil", "pyflakes", "pycodestyle", "pywin32" if sys.platform.startswith("win") else None, "pywin32-ctypes" if sys.platform.startswith("win") else None, "six", "virtualenv", "wheel", "winshell" if sys.platform.startswith("win") else None, ] from .automate_install import find_module_install return [find_module_install(_) for _ in names if _ is not None]
[docs]def pywin32_set(): """ list of modules to add to python to get python with pywin32 :githublink:`%|py|39` """ names = ["pywin32" if sys.platform.startswith("win") else None, "pywin32-ctypes" if sys.platform.startswith("win") else None, "winshell" if sys.platform.startswith("win") else None, ] from .automate_install import find_module_install return [find_module_install(_) for _ in names if _ is not None]