This repository has been archived on 2024-12-19. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-19/fabfile/app_path.py
coffeedogs 9821cc4510
Respond to PR comments
* Address issues raised in PR comments
 * Add isort tool to code_quality fab task
 * Applied isort tool to changed files
 * Refactored devops dependencies install method
 * Refactored application path munging
 * Made bitmessagecli executable
 * Minor bug fixes to toolchain
 * Removed stale donation address
 * Added absolute_imports to give hints to pylint
2018-07-30 17:25:42 +01:00

15 lines
323 B
Python

"""
app_path.py
===========
Since fabfile directories are not part of the project they can't see modules such as `version` to update the
documentation versioning for example.
"""
import os
import sys
app_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'src')
sys.path.insert(0, app_dir)