File tree Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ project(compas_libigl)
44set (CMAKE_CXX_STANDARD 11)
55set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR} /cmake)
66
7+ #Python
78get_filename_component (PYTHON_DIR ${PYTHON_EXECUTABLE} DIRECTORY )
8-
99if (NOT WIN32 )
1010 # on OSX the executable is in "bin"
1111 # so go one more level up
1212 get_filename_component (PYTHON_DIR ${PYTHON_DIR} DIRECTORY )
1313endif ()
1414
15+ #Python includes
1516if (WIN32 )
1617 set (CPLUS_INCLUDE_PATH "${PYTHON_DIR} /Library/include" )
1718else ()
@@ -37,4 +38,5 @@ option(LIBIGL_WITH_TRIANGLE "Use Triangle" ON)
3738option (LIBIGL_WITH_CGAL "Use CGAL" ON )
3839find_package (LIBIGL REQUIRED)
3940
41+ #COMPAS libigl modules
4042add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /modules)
Original file line number Diff line number Diff line change 22{% set version = "0.1.0" %}
33
44package :
5- name : {{ name }}
5+ name : {{ name|lower }}
66 version : {{ version }}
77
88source :
9+ # git_url: https://github.com/BlockResearchGroup/compas_libigl.git
10+ # git_depth: 1
11+ # url: https://github.com/blockresearchgroup/compas_libigl/archive/alpha-{{ version }}.tar.gz
12+ # sha256: f90b39d88ea003bc2ca7925146babb20320cedebe096e4c276835490be8e10a0
913 path : $RECIPE_DIR/../../
1014
1115build :
1216 number : 0
13- script : {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv
17+ script : " {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vv "
1418
1519requirements :
1620 build :
17- - boost
18- - cmake
1921 - git
22+ - cmake
23+ - boost
24+ # - cgal
25+ - numpy >=1.15.4
2026 host :
2127 - python
2228 - pip
2935
3036about :
3137 home : https://github.com/blockresearchgroup/compas_libigl
32- license : MIT
38+ license : GPL
3339 summary : ' COMPAS friendly wrappers for libigl functions.'
3440 dev_url : https://github.com/blockresearchgroup/compas_libigl
3541 doc_url : https://blockresearchgroup.github.io/compas_libigl
Original file line number Diff line number Diff line change 1+ import os
2+ import hashlib
3+
4+ HERE = os .path .dirname (__file__ )
5+ FILE = os .path .join (HERE , '../temp/compas_libigl-alpha-0.1.0.tar.gz' )
6+
7+ with open (FILE , 'rb' ) as f :
8+ data = f .read ()
9+ h = hashlib .sha256 (data ).hexdigest ()
10+
11+ print (h )
You can’t perform that action at this time.
0 commit comments