-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #393 from joshua-cogliati-inl/readme_update
Adding notes on building HERON_DATA zip.
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
To build this, use the build module in python: | ||
To build this, use the build module in python from the build_cfg directory: | ||
|
||
|
||
python3 -m ensurepip | ||
python3 -m pip install --upgrade build | ||
python3 -m build | ||
|
||
This will create packages in the dist directory. | ||
|
||
|
||
|
||
To build the data zip, from the HERON directory: | ||
|
||
#make sure that data and tests are clean | ||
git clean -x -f -d data/ tests/ | ||
|
||
#build docs | ||
(cd doc && ./make_docs.sh) | ||
|
||
#create zip | ||
(cd .. && zip -r HERON_DATA.zip HERON/doc/pdfs/*.pdf HERON/data/ HERON/tests/) | ||
|