-
Notifications
You must be signed in to change notification settings - Fork 13
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 #180 from eirrgang/gmxapi-177
Update documentation to resolve #177
- Loading branch information
Showing
37 changed files
with
859 additions
and
2,347 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
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,26 +1,32 @@ | ||
Future release notes go here... | ||
# Brief release notes | ||
|
||
When a new release is about to be tagged, version and release information needs to be updated in a few places. | ||
The gmxapi 0.0.7 C++ API, defined by GROMACS 2019, is incompatible with gmxapi 0.0.6. | ||
The gromacs-gmxapi 0.0.8 development branch will claim compatibility with 0.0.7 | ||
while possible. | ||
|
||
Once the required features in gromacs-gmxapi have been merged to its master branch, update the several lines in | ||
.travis.yml to reference the gromacs-gmxapi release archive instead of master or a development branch. | ||
Note that version compatibility in ``find_package`` is handled by the installed | ||
cmake version file of the targeted package, including handling of the `EXACT` | ||
key word, but the CMake macros used in gromacs-gmxapi should take care of this. | ||
|
||
See docs/changelog.rst and https://github.com/kassonlab/gmxapi for more information. | ||
|
||
# Preparing for a release | ||
|
||
When a new release is about to be tagged, version and release information needs | ||
to be updated in a few places. | ||
|
||
Once the required features in gromacs-gmxapi have been merged to its master | ||
branch, update the several lines in .travis.yml to reference the gromacs-gmxapi | ||
release archive instead of master or a development branch. | ||
|
||
Similarly, update the `gromacs_url` embedded in setup.py | ||
|
||
After merging the gmxapi development branch to master and before tagging the release, | ||
update version.in so that it writes a version.py file with `release = True`. | ||
|
||
Once the gmxapi gmxpy release is tagged and any touch-up commits are merged (fast-forwarded) to the refreshed | ||
development branch, | ||
Once the gmxapi gmxpy release is tagged and any touch-up commits are merged | ||
(fast-forwarded) to the refreshed development branch, | ||
bump the version in the development branch in CMakeLists.txt _and_ in setup.py. | ||
|
||
If / when feature branches require new libgmxapi features, `find_package(gmxapi...` can be updated in | ||
`src/gmx/core/CMakeLists.txt`. | ||
|
||
As of gromacs-gmxapi 0.0.6, we are tracking compatibility more closely, and the gromacs-gmxapi 0.0.7 development branch | ||
will claim compatibility with 0.0.6 while possible. | ||
|
||
Note that version compatibility in find_package is handled by the installed | ||
cmake version file of the targeted package, including handling of the `EXACT` key word, but the CMake macros used in | ||
gromacs-gmxapi should take care of this. | ||
|
||
If / when feature branches require new libgmxapi features, | ||
`find_package(gmxapi...)` can be updated in `src/gmx/core/CMakeLists.txt`. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Prepare the environment for the current Python interpreter. Assumes the | ||
# current shell environment variable PYTHON contains the path to the intended | ||
# Python interpreter. Assumes the environment variable MPICC is set to an | ||
# appropriate compiler wrapper (will be used to build mpi4py). Then this script | ||
# makes sure mpi4py is built with the intended compiler. | ||
# | ||
# To use, evaluate the results of this script in the root directory of the | ||
# gmxapi repository, i.e. the directory containing `requirements.txt` | ||
# | ||
# Example: | ||
# $ export PYTHON=`which python` | ||
# $ eval $(./ci_scripts/prepare_python.sh) | ||
# | ||
|
||
if [ -x "$PYTHON" ] ; then | ||
# Quiet output if QUIET is non-null | ||
echo "$PYTHON -m pip install --upgrade pip setuptools ${QUIET:+'-q'}; | ||
$PYTHON -m pip install --no-cache-dir --upgrade --no-binary \":all:\" --force-reinstall mpi4py ${QUIET:+'-q'}; | ||
$PYTHON -m pip install -r requirements.txt ${QUIET:+'-q'}" | ||
else | ||
echo "echo Set PYTHON to a Python interpreter before using prepare_python.sh" | ||
fi |
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.