Skip to content

Commit

Permalink
Merge pull request #562 from Farama-Foundation/build-fixes
Browse files Browse the repository at this point in the history
Bump the version number for a new release, fix the wheels building on Windows
  • Loading branch information
mwydmuch authored Sep 25, 2023
2 parents 1e1f1ee + ae17371 commit 53af392
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: sudo apt install cmake git libboost-all-dev libsdl2-dev libopenal-dev

- name: Install ViZDoom
run: pip install .
run: pip install .[gym]

- name: Install docs dependencies
run: pip install -r docs/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.12)
# Project + versions
#-----------------------------------------------------------------------------------------------------------------------

project(ViZDoom VERSION 1.2.1)
project(ViZDoom VERSION 1.2.2)
set(ViZDoom_VERSION_STR ${ViZDoom_VERSION_MAJOR}.${ViZDoom_VERSION_MINOR}.${ViZDoom_VERSION_PATCH})
set(ViZDoom_VERSION_ID ${ViZDoom_VERSION_MAJOR}${ViZDoom_VERSION_MINOR}${ViZDoom_VERSION_PATCH})

Expand Down
3 changes: 3 additions & 0 deletions src/lib_python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ if("${BUILD_PYTHON_VERSION}" STREQUAL "")
endif()

set(PYBIND11_PYTHON_VERSION ${BUILD_PYTHON_VERSION})
if(WIN32)
set(PYBIND11_FINDPYTHON True)
endif()

set(VIZDOOM_PYTHON_OUTPUT_DIR ${VIZDOOM_OUTPUT_DIR}/python${BUILD_PYTHON_VERSION})
set(VIZDOOM_PYTHON_SRC_DIR ${VIZDOOM_SRC_DIR}/lib_python)
Expand Down

0 comments on commit 53af392

Please sign in to comment.