Skip to main content

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

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

env_export_top-0.0-py2.py3-none-any.whl (2.1 kB view details)

Uploaded Python 2Python 3

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

Hashes for env_export_top-0.0.tar.gz
Algorithm Hash digest
SHA256 1776c15191736a3fb5b60aaf813a41961801d0176fd2698d76f5826bbd38f045
MD5 04c76446e2bb2d611efbaa62acb979c3
BLAKE2b-256 c10074c6fd664749b2418afe0253e841da7a92e610da5b6aa550784de06005b0

See more details on using hashes here.

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

Hashes for env_export_top-0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58a13307eeb416149fe4a26e53be4d44f86ed2dcd206f9af0e082704cc3c263f
MD5 525fe8abd07879c842ed759b30390b91
BLAKE2b-256 498ba0b62c260a59e60bc8b1b75b5c2e4bdebf35bb099a14bc3df7b4893d521f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page