Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 784 Bytes

File metadata and controls

35 lines (21 loc) · 784 Bytes

pipenv-shebang

{ repos & mirrors: github.com/laktak/pipenv-shebang, codeberg.org/laktak/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

Updates

This project is stable. No updates are planned but that does not mean this project is stale, it is very much in use.