-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from open-space-collective/users/lucas/rename-…
…project Rename project
- Loading branch information
Showing
191 changed files
with
4,371 additions
and
4,375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
################################################################################################################################################################ | ||
|
||
# @project Library ▸ Mathematics | ||
# @project Open Space Toolkit ▸ Mathematics | ||
# @file .codecov.yml | ||
# @author Lucas Brémond <[email protected]> | ||
# @license Apache License 2.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
################################################################################################################################################################ | ||
|
||
# @project Library ▸ Mathematics | ||
# @project Open Space Toolkit ▸ Mathematics | ||
# @file .gitignore | ||
# @author Lucas Brémond <[email protected]> | ||
# @license Apache License 2.0 | ||
|
@@ -54,5 +54,6 @@ docs/latex/ | |
tmp/ | ||
__pycache__ | ||
.ipynb_checkpoints | ||
.pytest_cache/ | ||
|
||
################################################################################################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
################################################################################################################################################################ | ||
|
||
# @project Library ▸ Mathematics | ||
# @project Open Space Toolkit ▸ Mathematics | ||
# @file .travis.yml | ||
# @author Lucas Brémond <[email protected]> | ||
# @license Apache License 2.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
################################################################################################################################################################ | ||
|
||
# @project Library ▸ Mathematics | ||
# @project Open Space Toolkit ▸ Mathematics | ||
# @file CMakeLists.txt | ||
# @author Lucas Brémond <[email protected]> | ||
# @license Apache License 2.0 | ||
|
@@ -9,10 +9,10 @@ | |
|
||
## Project Properties | ||
|
||
SET (PROJECT_NAME "LibraryMathematics") | ||
SET (PROJECT_NAME "OpenSpaceToolkitMathematics") | ||
SET (PROJECT_DESCRIPTION "Mathematics library.") | ||
SET (PROJECT_PATH "Library/Mathematics") | ||
SET (PROJECT_PACKAGE_NAME "library-mathematics") | ||
SET (PROJECT_PATH "OpenSpaceToolkit/Mathematics") | ||
SET (PROJECT_PACKAGE_NAME "open-space-toolkit-mathematics") | ||
SET (PROJECT_LICENSE "Apache License 2.0") | ||
SET (PROJECT_VENDOR_ID "org.open-space-collective") | ||
SET (PROJECT_VENDOR_NAME "Open Space Collective") | ||
|
@@ -260,13 +260,13 @@ ENDIF () | |
|
||
# INCLUDE_DIRECTORIES ("/usr/local/include/Gte") | ||
|
||
### Library ▸ Core [0.2.x] | ||
### Open Space Toolkit ▸ Core [0.2.x] | ||
|
||
FIND_PACKAGE ("LibraryCore" "0.2" REQUIRED) | ||
FIND_PACKAGE ("OpenSpaceToolkitCore" "0.2" REQUIRED) | ||
|
||
IF (NOT LibraryCore_FOUND) | ||
IF (NOT OpenSpaceToolkitCore_FOUND) | ||
|
||
MESSAGE (SEND_ERROR "[Library ▸ Core] not found.") | ||
MESSAGE (SEND_ERROR "[Open Space Toolkit ▸ Core] not found.") | ||
|
||
ENDIF () | ||
|
||
|
@@ -305,7 +305,7 @@ IF (BUILD_SHARED_LIBRARY) | |
|
||
TARGET_LINK_LIBRARIES (${SHARED_LIBRARY_TARGET} "pthread") | ||
TARGET_LINK_LIBRARIES (${SHARED_LIBRARY_TARGET} "Boost::date_time" "Boost::filesystem" "Boost::log") | ||
TARGET_LINK_LIBRARIES (${SHARED_LIBRARY_TARGET} ${LibraryCore_LIBRARIES}) | ||
TARGET_LINK_LIBRARIES (${SHARED_LIBRARY_TARGET} ${OpenSpaceToolkitCore_LIBRARIES}) | ||
|
||
SET_TARGET_PROPERTIES (${SHARED_LIBRARY_TARGET} PROPERTIES VERSION ${PROJECT_VERSION_STRING} SOVERSION ${PROJECT_VERSION_MAJOR} OUTPUT_NAME ${SHARED_LIBRARY_NAME} CLEAN_DIRECT_OUTPUT 1 INSTALL_RPATH "$ORIGIN/../lib:$ORIGIN/") | ||
|
||
|
@@ -331,7 +331,7 @@ IF (BUILD_STATIC_LIBRARY) | |
|
||
TARGET_LINK_LIBRARIES (${STATIC_LIBRARY_TARGET} "pthread") | ||
TARGET_LINK_LIBRARIES (${STATIC_LIBRARY_TARGET} "Boost::date_time" "Boost::filesystem" "Boost::log") | ||
TARGET_LINK_LIBRARIES (${STATIC_LIBRARY_TARGET} ${LibraryCore_LIBRARIES}) | ||
TARGET_LINK_LIBRARIES (${STATIC_LIBRARY_TARGET} ${OpenSpaceToolkitCore_LIBRARIES}) | ||
|
||
|
||
SET_TARGET_PROPERTIES (${STATIC_LIBRARY_TARGET} PROPERTIES VERSION ${PROJECT_VERSION_STRING} OUTPUT_NAME ${SHARED_LIBRARY_NAME} CLEAN_DIRECT_OUTPUT 1 INSTALL_RPATH "$ORIGIN/../lib:$ORIGIN/") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
################################################################################################################################################################ | ||
|
||
# @project Library ▸ Mathematics | ||
# @project Open Space Toolkit ▸ Mathematics | ||
# @file Makefile | ||
# @author Lucas Brémond <[email protected]> | ||
# @license Apache License 2.0 | ||
|
||
################################################################################################################################################################ | ||
|
||
export project_name := library-mathematics | ||
export project_name := open-space-toolkit-mathematics | ||
export project_version := $(shell git describe --tags --always) | ||
export project_directory := $(shell git rev-parse --show-toplevel) | ||
|
||
|
@@ -24,7 +24,7 @@ export docker_jupyter_notebook_image_repository := $(docker_image_repository)-ju | |
export jupyter_notebook_image_repository := jupyter/scipy-notebook:latest | ||
export jupyter_notebook_port := 9003 | ||
|
||
export library_core_directory := $(project_directory)/../library-core | ||
export open_space_toolkit_core_directory := $(project_directory)/../open-space-toolkit-core | ||
|
||
export ci_build_number := $(TRAVIS_BUILD_NUMBER) | ||
export ci_commit := $(TRAVIS_COMMIT) | ||
|
@@ -459,7 +459,7 @@ _test-unit-python: _build-release-image-python | |
|
||
docker run \ | ||
--rm \ | ||
--workdir=/usr/local/lib/python3.7/site-packages/Library/Mathematics \ | ||
--workdir=/usr/local/lib/python3.7/site-packages/ostk/mathematics \ | ||
--entrypoint="" \ | ||
$(docker_release_image_python_repository):$(docker_image_version)-$(target) \ | ||
/bin/bash -c "pip install pytest && pytest ." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
################################################################################################################################################################ | ||
|
||
# @project Library ▸ Mathematics | ||
# @project Open Space Toolkit ▸ Mathematics | ||
# @file bindings/python/CMakeLists.txt | ||
# @author Lucas Brémond <[email protected]> | ||
# @license Apache License 2.0 | ||
|
@@ -9,10 +9,12 @@ | |
|
||
## Project Properties | ||
|
||
SET (PROJECT_NAME "LibraryMathematicsPy") | ||
SET (PROJECT_DESCRIPTION "Python bindings for Library / Mathematics.") | ||
SET (PROJECT_PACKAGE_NAME "LibraryMathematicsPy") | ||
SET (PROJECT_PATH "Library/Mathematics") | ||
SET (PROJECT_NAME "OpenSpaceToolkitMathematicsPy") | ||
SET (PROJECT_DESCRIPTION "Python bindings for Open Space Toolkit / Mathematics.") | ||
SET (PROJECT_PACKAGE_NAME "OpenSpaceToolkitMathematicsPy") | ||
SET (PROJECT_GROUP "ostk") | ||
SET (PROJECT_SUBGROUP "mathematics") | ||
SET (PROJECT_PATH "${PROJECT_GROUP}/${PROJECT_SUBGROUP}") | ||
SET (PROJECT_LICENSE "Apache License 2.0") | ||
SET (PROJECT_VENDOR_ID "com.bremond.lucas") | ||
SET (PROJECT_VENDOR_NAME "Lucas Brémond") | ||
|
@@ -123,7 +125,7 @@ SET_TARGET_PROPERTIES ( ${LIBRARY_TARGET} PROPERTIES | |
INSTALL_RPATH "$ORIGIN/../lib:$ORIGIN/") | ||
|
||
INSTALL (TARGETS ${LIBRARY_TARGET} DESTINATION "${INSTALL_LIB}/${PROJECT_PATH}" COMPONENT "python") | ||
INSTALL (FILES "${PROJECT_SOURCE_DIR}/tools/python/Library/__init__.py" DESTINATION "${INSTALL_LIB}/Library" COMPONENT "python") | ||
INSTALL (FILES "${PROJECT_SOURCE_DIR}/tools/python/${PROJECT_GROUP}/__init__.py" DESTINATION "${INSTALL_LIB}/${PROJECT_GROUP}" COMPONENT "python") | ||
INSTALL (FILES "${PROJECT_SOURCE_DIR}/tools/python/${PROJECT_PATH}/__init__.py" DESTINATION "${INSTALL_LIB}/${PROJECT_PATH}" COMPONENT "python") | ||
|
||
################################################################################################################################################################ | ||
|
@@ -149,12 +151,12 @@ CONFIGURE_FILE (${SETUP_PY_IN} ${SETUP_PY}) | |
ADD_CUSTOM_COMMAND (OUTPUT ${OUTPUT} | ||
COMMAND mkdir -p "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}" | ||
COMMAND cp -r "${CMAKE_CURRENT_SOURCE_DIR}/test" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}/test" | ||
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/tools/python/Library/__init__.py" "${CMAKE_CURRENT_BINARY_DIR}/Library/__init__.py" | ||
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/tools/python/${PROJECT_GROUP}/__init__.py" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_GROUP}/__init__.py" | ||
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/tools/python/${PROJECT_PATH}/__init__.py" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}/__init__.py" | ||
COMMAND cp "/usr/local/lib/libboost_${PYTHON_VERSION}.so.${BOOST_VERSION}.0" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}/libboost_${PYTHON_VERSION}.so.${BOOST_VERSION}.0" | ||
COMMAND cp "/usr/local/lib/libboost_numpy37.so.${BOOST_VERSION}.0" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}/libboost_numpy37.so.${BOOST_VERSION}.0" | ||
COMMAND cp "${CMAKE_SOURCE_DIR}/lib/${SHARED_LIBRARY_TARGET}" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}/liblibrary-mathematics.so.0" | ||
COMMAND cp "${CMAKE_SOURCE_DIR}/lib/${LIBRARY_TARGET}" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}/LibraryMathematicsPy.so" | ||
COMMAND cp "${CMAKE_SOURCE_DIR}/lib/${SHARED_LIBRARY_TARGET}" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}/libopen-space-toolkit-mathematics.so.0" | ||
COMMAND cp "${CMAKE_SOURCE_DIR}/lib/${LIBRARY_TARGET}" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_PATH}/${LIBRARY_TARGET}" | ||
COMMAND ${PYTHON} ${SETUP_PY} bdist_wheel | ||
COMMAND ${CMAKE_COMMAND} -E touch ${OUTPUT} | ||
DEPENDS ${DEPS}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Library ▸ Mathematics ▸ Bindings ▸ Python | ||
# Open Space Toolkit ▸ Mathematics | ||
|
||
Geometry, curve fitting, optimization. | ||
|
||
[![Build Status](https://travis-ci.com/open-space-collective/library-mathematics.svg?branch=master)](https://travis-ci.com/open-space-collective/library-mathematics) | ||
[![Code Coverage](https://codecov.io/gh/open-space-collective/library-mathematics/branch/master/graph/badge.svg)](https://codecov.io/gh/open-space-collective/library-mathematics) | ||
[![Documentation](https://img.shields.io/readthedocs/pip/stable.svg)](https://open-space-collective.github.io/library-mathematics) | ||
[![GitHub version](https://badge.fury.io/gh/open-space-collective%2Flibrary-mathematics.svg)](https://badge.fury.io/gh/open-space-collective%2Flibrary-mathematics) | ||
[![PyPI version](https://badge.fury.io/py/LibraryMathematicsPy.svg)](https://badge.fury.io/py/LibraryMathematicsPy) | ||
[![Build Status](https://travis-ci.com/open-space-collective/open-space-toolkit-mathematics.svg?branch=master)](https://travis-ci.com/open-space-collective/open-space-toolkit-mathematics) | ||
[![Code Coverage](https://codecov.io/gh/open-space-collective/open-space-toolkit-mathematics/branch/master/graph/badge.svg)](https://codecov.io/gh/open-space-collective/open-space-toolkit-mathematics) | ||
[![Documentation](https://img.shields.io/readthedocs/pip/stable.svg)](https://open-space-collective.github.io/open-space-toolkit-mathematics) | ||
[![GitHub version](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-mathematics.svg)](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-mathematics) | ||
[![PyPI version](https://badge.fury.io/py/open-space-toolkit-mathematics.svg)](https://badge.fury.io/py/open-space-toolkit-mathematics) | ||
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
|
||
[Library ▸ Mathematics](https://github.com/open-space-collective/library-mathematics) | ||
[GitHub](https://github.com/open-space-collective/open-space-toolkit-mathematics) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.