Пример #1
0
import pyvan 

OPTIONS = {"main_file_name": "main.py", 
            "show_console": False,
            "use_pipreqs": True,
            "install_only_these_modules": [],
            "exclude_modules":[],
            "include_modules":[],
            "path_to_get_pip_and_python_embeded_zip": ""
            }

pyvan.build(OPTIONS)
 
Пример #2
0
import pyvan

OPTIONS = {
    "main_file_name": "main.py",
    "show_console": False,
    "use_pipreqs": True
}

pyvan.build(**OPTIONS)
Пример #3
0
import pyvan

try:
    pyvan.build({
        "main_file_name":
        "main.py",
        "show_console":
        False,
        "use_pipreqs":
        True,
        "exclude_modules": [],
        "include_modules": [],
        "get_pip_location":
        "https://bootstrap.pypa.io/get-pip.py",
        "embeded_python_location":
        "https://www.python.org/ftp/python/3.7.3/python-3.7.3-embed-amd64.zip",
    })
except Exception as err:
    pyvan.show_traceback(err)
    input("\nPress enter to exit..")