Skip to main content

pipenv-shebang allows you to put scripts in your path that run in a pipenv environment.

Project description

pipenv-shebang

pipenv-shebang allows you to put scripts in your path that run in a pipenv environment.

This solves the problem of launching pipenv run script.py from outside the script directory.

Usage

Put this shebang at the top of your script:

#!/usr/bin/env pipenv-shebang

You can also run your script with

pipenv-shebang /path/to/script

Installation

sudo pip install pipenv-shebang

# or
pip install --user pipenv-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

pipenv-shebang-0.0.4.tar.gz (1.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page