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 hashes)
Built Distribution
Close
Hashes for env_export_top-0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58a13307eeb416149fe4a26e53be4d44f86ed2dcd206f9af0e082704cc3c263f |
|
MD5 | 525fe8abd07879c842ed759b30390b91 |
|
BLAKE2b-256 | 498ba0b62c260a59e60bc8b1b75b5c2e4bdebf35bb099a14bc3df7b4893d521f |