Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TheRandomLabs/Scoop-Python
A Scoop bucket for Python applications that do not provide standalone executables.
https://github.com/TheRandomLabs/Scoop-Python
python python-applications python-apps scoop scoop-apps scoop-bucket
Last synced: 4 months ago
JSON representation
A Scoop bucket for Python applications that do not provide standalone executables.
- Host: GitHub
- URL: https://github.com/TheRandomLabs/Scoop-Python
- Owner: TheRandomLabs
- License: unlicense
- Created: 2020-05-10T08:08:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T10:10:05.000Z (4 months ago)
- Last Synced: 2024-10-29T12:13:20.808Z (4 months ago)
- Topics: python, python-applications, python-apps, scoop, scoop-apps, scoop-bucket
- Language: PowerShell
- Size: 459 KB
- Stars: 20
- Watchers: 4
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Scoop-Python [](https://ci.appveyor.com/project/TheRandomLabs/scoop-python/branch/master)
A [Scoop](https://github.com/lukesampson/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](https://github.com/TheRandomLabs/Scoop-Bucket)
and my [Spotify/Spicetify bucket](https://github.com/TheRandomLabs/Scoop-Spotify)!## 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](https://github.com/ScoopInstaller/Main/issues/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:```powershell
$ pip install --upgrade typed_ast
```## migrate-python-packages
* A script to migrate packages in this bucket between Python versions is provided as a dependency.
```powershell
$ migrate-python-packages --help
```* For example, to update Python and all packages in this bucket:
```powershell
# 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
```