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
Release files for env-export-top 0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| env_export_top-0.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| env_export_top-0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 4.3 kB
Release files / env_export_top-0.0.tar.gz
| Download URL | env_export_top-0.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1776c15191736a3fb5b60aaf813a41961801d0176fd2698d76f5826bbd38f045
|
|
BLAKE2b-256 checksum How to use checksums |
c10074c6fd664749b2418afe0253e841da7a92e610da5b6aa550784de06005b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / env_export_top-0.0-py2.py3-none-any.whl
| Download URL | env_export_top-0.0-py2.py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
58a13307eeb416149fe4a26e53be4d44f86ed2dcd206f9af0e082704cc3c263f
|
|
BLAKE2b-256 checksum How to use checksums |
498ba0b62c260a59e60bc8b1b75b5c2e4bdebf35bb099a14bc3df7b4893d521f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|