# be tagged. Official GROMACS releases should be mappable to a distinct gmxapi
# release string. For roadmap details, see https://gitlab.com/gromacs/gromacs/-/issues/2585
set(GMXAPI_MAJOR 0)
-set(GMXAPI_MINOR 1)
+set(GMXAPI_MINOR 2)
set(GMXAPI_PATCH 0)
set(GMXAPI_RELEASE ${GMXAPI_MAJOR}.${GMXAPI_MINOR}.${GMXAPI_PATCH})
"OS X should build Python package for 64-bit architecture"
FORCE)
-project(gmxapi VERSION 0.1.0)
+# Note that this is the gmxapi._gmxapi Python bindings package version,
+# not the C++ API version. It is not essential that it match the pure Python
+# package version, but is likely to do so.
+project(gmxapi VERSION 0.2.0)
# Check if Python package is being built directly or via add_subdirectory
set(GMXAPI_MASTER_PROJECT OFF)
endif()
if(GMXAPI_MASTER_PROJECT)
- find_package(gmxapi 0.0.8 REQUIRED
+ # TODO: Retain compatibility with libgmxapi 0.1 and back down the requirement.
+ find_package(gmxapi 0.2.0 REQUIRED
HINTS "$ENV{GROMACS_DIR}"
)
endif()
LIBRARY_OUTPUT_DIRECTORY ${GMXAPI_PYTHON_STAGING_DIR}/gmxapi)
if(GMXAPI_MASTER_PROJECT)
+ # TODO: This requirement is probably overly restrictive.
find_package(GROMACS 2021 REQUIRED
HINTS "$ENV{GROMACS_DIR}"
)
setup(
name='gmxapi',
- # TODO: single-source version information (currently repeated in gmxapi/version.py)
+ # TODO: single-source version information (currently repeated in gmxapi/version.py and CMakeLists.txt)
version='0.2.0b1',
python_requires='>=3.6',
install_requires=['networkx>=2.0',