python3 -m pip install --extra-index-url https://test.pypi.org/simple energyplus-coreresources/EnergyPlusEnergyPlus base repository
from energyplus.core import pyenergyplus
- Clone the current repo
- Clone the submodules
git submodule update --init --recursive- (Optional) Update
resources/EnergyPlusto latest tagged release
sh scripts/resources/EnergyPlus/update_release.sh- Package (Minimal wheel)
#SKBUILD_CMAKE_VERBOSE=true \
SKBUILD_LOGGING_LEVEL="DEBUG" \
SKBUILD_BUILD_DIR='build/{wheel_tag}' \
SKBUILD_CMAKE_ARGS='
-D CMAKE_BUILD_TYPE:STRING=Release;
-D BUILD_FORTRAN:BOOL=OFF;
-D DOCUMENTATION_BUILD:STRING=DoNotBuild;
-D OPENGL_REQUIRED:BOOL=OFF;
' \
python3 -m build . --wheel
#python3 -m build .
#python3 -m pip install .- (Optional) Bump version
git tag -a v0.1.0.dev0
# check tagged version
python -m setuptools_scm
git push --follow-tags