ensure that $TOP is always exported
Project description
This package installs a pth file that will ensure that a $TOP environment variable is set to the top of your development codebase before running any other piece of python. The $TOP environment variable is set by searching the filesytem for a .top file, starting from the .pth file itself and travsering parent directories.
Demo:
$ virtualenv tmpenv $ . tmpenv/bin/activate $ pip install export-top-var $ touch .top $ python -c 'import os; os.system("echo $TOP")' /my/current/path
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
env_export_top-0.0.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file env_export_top-0.0.tar.gz
.
File metadata
- Download URL: env_export_top-0.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1776c15191736a3fb5b60aaf813a41961801d0176fd2698d76f5826bbd38f045 |
|
MD5 | 04c76446e2bb2d611efbaa62acb979c3 |
|
BLAKE2b-256 | c10074c6fd664749b2418afe0253e841da7a92e610da5b6aa550784de06005b0 |
File details
Details for the file env_export_top-0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: env_export_top-0.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58a13307eeb416149fe4a26e53be4d44f86ed2dcd206f9af0e082704cc3c263f |
|
MD5 | 525fe8abd07879c842ed759b30390b91 |
|
BLAKE2b-256 | 498ba0b62c260a59e60bc8b1b75b5c2e4bdebf35bb099a14bc3df7b4893d521f |