Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page