- Notifications
You must be signed in to change notification settings - Fork318
stonebig edited this pageApr 13, 2024 ·9 revisions
WPPM (WinPython Package Manager) is a command line utility that gives a few services to handle your WinPython Distribution:
- type WPPM alone to display integrated help
wppmusage: wppm [-h] [--register] [--unregister] [-v] [-ls] [-p] [-r] [-l LEVELS] [-lsa] [-t TARGET] [-i] [-u] [package]WinPython Package Manager: handle a WinPython Distribution and its packagespositional arguments: package optional package name or package wheeloptions: -h, --help show this help message and exit --register Register distribution: associate file extensions, icons and context menu with this WinPython --unregister Unregister distribution: de-associate file extensions, icons and context menu from this WinPython -v, --verbose show more details on packages and actions -ls, --list list packages matching the given [optionnal] package expression: wppm -ls, wppm -ls pand -p show Package dependancies of the given package[option]: wppm -p pandas[test] -r show Reverse dependancies of the given package[option]: wppm -r pytest[test] -l LEVELS show 'LEVELS' levels of dependancies of the package, default is 2: wppm -p pandas -l1 -lsa list details of package names matching given regular expression: wppm -lsa pandas -l1 -t TARGET path to target Python distribution (default: "C:\WinP\bd313\budot\WPy64-31300a6\python-3.13.0a6.amd64") -i, --install install a given package wheel (use pip for more features) -u, --uninstall uninstall package (use pip for more features)
- navigating over the installed packages hierarchy
- WPPM -ls : shows all packages, version and package summary description
- WPPM -p pandas: shows package pandas main dependancies
- WPPM -r pandas: shows packages depending on pandas package
- registering or unregistering WinPython in the user's environnement:
- WPPM --register
- WPPM --unregister
Launch "WinPython Command Prompt" and use the standard PIP Python package manager
One (optional) Exception is PIP Package itself:
- to update PIP package itself and keep WinPython as a movable directory:
- launch Winpython provided "scripts\upgrade_pip.bat"
- or, after PIP upgrade, launch "scripts\make_winpython_movable.bat"
- if you do a standard PIP upgrade (or launch "scripts\make_winpython_fix.bat"), all is good as long as you don't move the WinPython directory.
Old wiki page:http://sourceforge.net/p/winpython/wiki/WPPM/