Skip to content
Snippets Groups Projects
Commit 74e15de3 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Update bump-version to set OST version in build-instructions.

parent fa1f00e3
No related branches found
No related tags found
No related merge requests found
......@@ -23,15 +23,16 @@ Building |project|
Dependencies
--------------------------------------------------------------------------------
|project| is build on top of |ost_l|_ (|ost_s|), requiring at least version 1.8.
|ost_s| must be configured and compiled with ``ENABLE_MM=1`` to use |openmm|_.
To create the build system, |cmake|_ is required. The same versions of |python|_
and |boost|_ are needed as used in |ost_s|. For |eigen3|_ we need at least
version 3.3.0. To build the documentation, |sphinx|_ is required.
|project| is build on top of |ost_l|_ (|ost_s|), requiring at least version
|ost_version|. |ost_s| must be configured and compiled with ``ENABLE_MM=1`` to
use |openmm|_. To create the build system, |cmake|_ is required. The same
versions of |python|_ and |boost|_ are needed as used in |ost_s|. For |eigen3|_
we need at least version 3.3.0. To build the documentation, |sphinx|_ is
required.
The currently preferred versions are:
* |ost_s|_ 1.9
* |ost_s|_ |ost_version|
* |openmm|_ 7.1.1
* |cmake|_ 2.8.12
* |python|_ 2.7.5
......
......@@ -286,6 +286,7 @@ rst_epilog = """
.. |cmake| replace:: CMake
.. |ost_l| replace:: OpenStructure
.. |ost_s| replace:: OST
.. |ost_version| replace:: 1.10.0
.. |python| replace:: Python
.. |sphinx| replace:: Sphinx
.. _sphinx: http://sphinx-doc.org/
......
......@@ -42,3 +42,10 @@ for i, line in enumerate(lines):
lines[i] = 'ARG PROMOD_VERSION="%s"\n' % version_string
open("container/Dockerfile", "w").writelines(lines)
# note: Singularity recipe takes Docker as input so all good
# fix doc config
lines = open("doc/conf.py.in").readlines()
for i, line in enumerate(lines):
if line.startswith(".. |ost_version| replace::"):
lines[i] = '.. |ost_version| replace:: %s\n' % ost_version_string
open("doc/conf.py.in", "w").writelines(lines)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment