forked from CORE-GATECH-GROUP/serpent-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV Rely on SERPENT_TOOLS_DATA environment variable
The serpentTools.data.getFile and readDataFile functions now rely on the evnironment variable SERPENT_TOOLS_DATA. This will allow the files to be stored in any location, including outside the repository, but more importantly, outside the python package. Since this change is done inside the getFile function, none of the tests have to be modified at all. The travis build commands will have to be slightly modified to use this directory, and those changes will come shortly. Notes have been added to the developer guide to indicate the use of this variable, and how to set it. Related: GH Issue CORE-GATECH-GROUP#336
- Loading branch information
1 parent
2dc5a9d
commit 23913d0
Showing
2 changed files
with
45 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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