Skip to content

TheRandomLabs/Scoop-Python

Repository files navigation

Scoop-Python Build status

A Scoop bucket for Python applications that do not provide standalone executables.

$ scoop bucket add python https://github.com/TheRandomLabs/Scoop-Python.git

This bucket is an alternative to using pip to install these packages.

Also check out my personal bucket and my Spotify/Spicetify bucket!

Motivation

  • pip does not have a built-in functionality to update all packages. This is inconvenient for command-line tools and other executable applications such as HTTPie.
  • pip does not have a simple way to preserve packages between Python updates. Again, this is inconvenient for command-line tools and other executable applications such as HTTPie.
  • Python virtual environments should be used to install other packages, so only executable applications are accepted into this bucket.

Drawbacks

  • For the purpose of avoiding conflicts, uninstalling a package in this bucket will not uninstall its dependencies.
  • For local installs, binaries may not be added to PATH due to ScoopInstaller/Main#772.
  • Packages installed globally from this bucket will need to be migrated for any Python update.
  • Packages installed locally from this bucket will need to be migrated for any minor or major Python update.
  • Installing mypy-py requires either Microsoft Visual C++ 14.0 to be installed or typed_ast to be installed first through pip:
$ pip install --upgrade typed_ast

migrate-python-packages

  • A script to migrate packages in this bucket between Python versions is provided as a dependency.
$ migrate-python-packages --help
  • For example, to update Python and all packages in this bucket:
# Update Python first so that fewer migrations are required if there are also updates for packages in this bucket
scoop update python
scoop update *
migrate-python-packages

About

A Scoop bucket for Python applications that do not provide standalone executables.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy