The new install version based on classical setup.py #1

Merged
coissac merged 15 commits from pip-standard-orig-python into master 2019-03-29 15:25:03 +00:00
37 changed files with 329 additions and 1194 deletions
Showing only changes of commit 52b8008bdc - Show all commits

View File

@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 3.12)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
SET(PYTHONLIB "po" CACHE STRING "Location of the python site-package directory")
project (cobitools3)
set(CMAKE_BUILD_TYPE Release)
@ -58,4 +60,7 @@ add_library(cobitools3 SHARED obierrno.c
libecoPCR/ecoMalloc.c
libecoPCR/ecoError.c
obitypes.c
array_indexer.c)
array_indexer.c)
install(TARGETS cobitools3 DESTINATION ${PYTHONLIB})