Created
February 19, 2014 23:57
-
-
Save markmevans/9104145 to your computer and use it in GitHub Desktop.
A hack for PyBuilder build.py files to import support code and/or build specific plugins without cluttering the project's root directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add the following to the top of your build.py file: | |
import sys | |
sys.path.insert(0, 'bldsup') # Project subdirectory for build specific extensions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment