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 details)
File details
Details for the file pipenv-shebang-0.0.4.tar.gz
.
File metadata
- Download URL: pipenv-shebang-0.0.4.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d38f02ea294eb4ad9ddb13efb18f4cc5264ca9a87f2c86ecf65358728f7bb7a |
|
MD5 | bc0e9c06308ab89594bfeb0e4ffe2fc6 |
|
BLAKE2b-256 | 52a2c8b9f5c384d29f95e72d6e54721b853a17cc91db81cb6fa2a00cdd8dc768 |