Skip to content

Commit

Permalink
Update to OCCT 7.5.2 (#82)
Browse files Browse the repository at this point in the history
* Update to OCCT 7.5.2

* Use Python 3.7 for binding generation
  • Loading branch information
trelau committed May 30, 2021
1 parent 639704f commit 544e72a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
cmake_minimum_required(VERSION 3.15...3.20)
project(pyOCCT VERSION 7.5.1.2 LANGUAGES C CXX)
project(pyOCCT VERSION 7.5.2.0 LANGUAGES C CXX)


# --------------------------------------------------------------------------- #
Expand All @@ -32,8 +32,8 @@ option(ENABLE_WARNINGS "Disable warning output." OFF)
# --------------------------------------------------------------------------- #
set(pyOCCT_MAJOR_VERSION 7)
set(pyOCCT_MINOR_VERSION 5)
set(pyOCCT_PATCH_VERSION 1)
set(pyOCCT_TWEAK_VERSION 2)
set(pyOCCT_PATCH_VERSION 2)
set(pyOCCT_TWEAK_VERSION 0)

if(WIN32)
set(EXTENSION ".pyd")
Expand Down Expand Up @@ -118,7 +118,7 @@ endif()
include_directories(inc)
if(NOT DEFINED OpenCASCADE_INCLUDE_DIR OR NOT DEFINED OpenCASCADE_LIBRARY_DIR)
message(STATUS "Searching for OpenCASCADE...")
find_package(OpenCASCADE 7.5.1 REQUIRED)
find_package(OpenCASCADE 7.5.2 REQUIRED)
endif()

if(NOT EXISTS ${OpenCASCADE_INCLUDE_DIR})
Expand Down
2 changes: 1 addition & 1 deletion OCCT/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
__version__ = '7.5.1.2'
__version__ = '7.5.2.0'
2 changes: 1 addition & 1 deletion binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies:
- python=3.7
- clangdev
- python-clang
- occt=7.5.1
- occt=7.5.2
- tbb-devel
6 changes: 3 additions & 3 deletions ci/conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: pyocct
version: 7.5.1.2
version: 7.5.2.0

source:
path: ../..
Expand All @@ -20,12 +20,12 @@ requirements:
host:
- python
- pybind11
- occt ==7.5.1
- occt ==7.5.2
- tbb-devel

run:
- python
- occt ==7.5.1
- occt ==7.5.2

test:
source_files:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='OCCT',
version='7.5.1.2',
version='7.5.2.0',
packages=['OCCT', 'OCCT.Exchange', 'OCCT.Visualization'],
package_data={'OCCT': ['*.so', '*.pyd', '*.dll', 'Visualization/_resources/*']},
author='Trevor Laughlin',
Expand Down

0 comments on commit 544e72a

Please sign in to comment.