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 hashes)