env-export-top-0.0
توضیحات
ensure that $TOP is always exported
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | env-export-top-0.0 |
| نام | env-export-top |
| نسخه کتابخانه | 0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Buck Evan |
| ایمیل نویسنده | buck.2019@gmail.com |
| آدرس صفحه اصلی | https://github.com/bukzor/python-env-export-top |
| آدرس اینترنتی | https://pypi.org/project/env-export-top/ |
| مجوز | MIT |
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
نحوه نصب
نصب پکیج whl env-export-top-0.0:
pip install env-export-top-0.0.whl
نصب پکیج tar.gz env-export-top-0.0:
pip install env-export-top-0.0.tar.gz