rye-shebang
rye-shebang allows you to put scripts in your path that run in a rye environment.
This solves the problem of launching rye run script.py from outside the script directory.
Credits
This project is based on pipenv-shebang and poetry-shebang.
Usage
Put this shebang at the top of your script:
#!/usr/bin/env rye-shebang
You can also run your script with
rye-shebang /path/to/script
Installation
sudo pip install rye-shebang
# or
pip install --user rye-shebang
Metadata
Release files for rye-shebang 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rye-shebang-0.1.0.tar.gz | 2.6 kB | Details |
Release files / rye-shebang-0.1.0.tar.gz
| Download URL | rye-shebang-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa7d738959ab2011961235bf26dd1004a15b4490a1b0a7e53630ee7030bcd796
|
|
BLAKE2b-256 checksum How to use checksums |
abe469f83e720deb6e155d4b9560710fae5874169f7198f733bc6cd44e77ba36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|