-
Notifications
You must be signed in to change notification settings - Fork 79
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 #58 from esmf-org/esmpy-feature-pip
ESMPy pip install and test update
- Loading branch information
Showing
117 changed files
with
2,361 additions
and
2,809 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.PHONY: clean install test test_int test_all uninstall | ||
|
||
clean: | ||
rm -rf build || : | ||
rm -rf dist || : | ||
find . -name "*.egg-info" -exec rm -rf {} \; || : | ||
find . -name "*.pyc" -exec rm -f {} \; || : | ||
find . -name "*.log" -exec rm -f {} \; || : | ||
find . -name "*.vtk" -exec rm -f {} \; || : | ||
find . -name "*.pytest_cache" -exec rm -rf {} \; || : | ||
find . -name "*.python-version" -exec rm -f {} \; || : | ||
find . -name "*__pycache__" -exec rm -rf {} \; || : | ||
find . -name "*ESMF_LogFile*" -exec rm -f {} \; || : | ||
find . -name "*.report.json" -exec rm -rf {} \; || : | ||
find . -name "*.test" -exec rm -rf {} \; || : | ||
rm -rf src/esmpy/test/regrid_from_file/data || : | ||
rm -rf examples/data || : | ||
|
||
dust: | ||
find . -name "*ESMF_LogFile*" -exec rm -f {} \; || : | ||
find . -name "*.report.json" -exec rm -rf {} \; || : | ||
find . -name "*.test" -exec rm -rf {} \; || : | ||
|
||
install: | ||
python3 -m pip install . | ||
|
||
download_examples: | ||
python3 examples/test_examples_download.py | ||
|
||
download_regrid_from_file: | ||
python3 src/esmpy/test/regrid_from_file/test_regrid_from_file_download.py | ||
|
||
download: download_examples download_regrid_from_file | ||
|
||
test: | ||
bash src/esmpy/test/test_all.bash | ||
|
||
test_unit: | ||
python3 -m pytest -vs | ||
|
||
test_unit_parallel: | ||
mpiexec -n 4 python3 -vs | ||
|
||
test_examples: | ||
python3 -m pytest -vs examples/test_examples.py | ||
|
||
test_examples_parallel: | ||
mpiexec -n 4 python3 -m pytest -vs examples/test_examples.py | ||
|
||
test_regrid_from_file: | ||
python3 -m pytest -vs src/esmpy/test/regrid_from_file/test_regrid_from_file.py | ||
|
||
test_regrid_from_file_parallel: | ||
mpiexec -n 4 python3 -m pytest -vs src/esmpy/test/regrid_from_file/test_regrid_from_file.py | ||
|
||
test_serial: test_unit test_examples test_regrid_from_file | ||
|
||
test_parallel: test_unit_parallel test_examples_parallel test_regrid_from_file_parallel | ||
|
||
test_all: test_unit test_unit_parallel test_examples test_examples_parallel test_regrid_from_file test_regrid_from_file_parallel | ||
|
||
uninstall: | ||
python3 -m pip uninstall ESMPy |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.