rye-shebang allows you to put scripts in your path that run in a rye environment.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rye-shebang-0.1.0.tar.gz
(2.6 kB
view details)
File details
Details for the file rye-shebang-0.1.0.tar.gz
.
File metadata
- Download URL: rye-shebang-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa7d738959ab2011961235bf26dd1004a15b4490a1b0a7e53630ee7030bcd796 |
|
MD5 | e8c96d4f420eec26b84400d2e07d231f |
|
BLAKE2b-256 | abe469f83e720deb6e155d4b9560710fae5874169f7198f733bc6cd44e77ba36 |