Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • ostasse/dynamic-graph-python
  • gsaurel/dynamic-graph-python
  • stack-of-tasks/dynamic-graph-python
3 results
Show changes
Commits on Source (233)
# pre-commit run -a (Guilhem Saurel, 2022-07-27)
db4d991c9d727b8454695ce8d88948b948c6b36f
variables: include: http://rainboard.laas.fr/project/dynamic-graph-python/.gitlab-ci.yml
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_DEPTH: "3"
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
cache:
paths:
- ccache
.robotpkg-py-dynamic-graph-v3: &robotpkg-py-dynamic-graph-v3
except:
- gh-pages
script:
- mkdir -p ccache
- cd /root/robotpkg/wip/py-dynamic-graph-v3
- git pull
- make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
- make install
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
- make test
robotpkg-py-dynamic-graph-v3-14.04-release:
<<: *robotpkg-py-dynamic-graph-v3
image: eur0c.laas.fr:5000/stack-of-tasks/dynamic-graph-python/py-dynamic-graph-v3:14.04
robotpkg-py-dynamic-graph-v3-16.04-release:
<<: *robotpkg-py-dynamic-graph-v3
image: eur0c.laas.fr:5000/stack-of-tasks/dynamic-graph-python/py-dynamic-graph-v3:16.04
robotpkg-py-dynamic-graph-v3-18.04-release:
<<: *robotpkg-py-dynamic-graph-v3
image: eur0c.laas.fr:5000/stack-of-tasks/dynamic-graph-python/py-dynamic-graph-v3:18.04
doc-coverage:
<<: *robotpkg-py-dynamic-graph-v3
image: eur0c.laas.fr:5000/stack-of-tasks/dynamic-graph-python/py-dynamic-graph-v3:16.04
before_script:
- echo -e 'CXXFLAGS+= --coverage\nLDFLAGS+= --coverage\nPKG_DEFAULT_OPTIONS= debug' >> /opt/openrobots/etc/robotpkg.conf
after_script:
- cd /root/robotpkg/wip/py-dynamic-graph-v3
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
- make doc
- mv doc/doxygen-html ${CI_PROJECT_DIR}
- mkdir -p ${CI_PROJECT_DIR}/coverage/
- gcovr -r .
- gcovr -r . --html --html-details -o ${CI_PROJECT_DIR}/coverage/index.html
artifacts:
expire_in: 1 day
paths:
- doxygen-html/
- coverage/
[submodule "cmake"] [submodule "cmake"]
path = cmake path = cmake
url = git://github.com/jrl-umi3218/jrl-cmakemodules.git url = https://github.com/jrl-umi3218/jrl-cmakemodules.git
[submodule ".travis"]
path = .travis
url = git://github.com/jrl-umi3218/jrl-travis
exclude: tests/test_python-syntax_error.py
ci:
autoupdate_branch: 'devel'
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.6
hooks:
- id: clang-format
args: [--style=Google]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
Subproject commit 083fa2cb0fa4ad594926d9bb3d246075e62ce9ee
language: cpp
sudo: required
compiler:
- gcc
- clang
env:
global:
- secure: ECiHIh0aT5ml/MdKifvFIM2UpDWiPsJPEZpafLYM8U0VAPYThSfUe8JWhMsky8amOwm38akbSbr6C7iBKVpzjAqpgNdOdufO1RUZ6pUvtlVXiXTw2KlqPqbDVlD3QroVDhnX/rIRcg5ezEHAIb594uEaHdf8tlikhjdTc3aAgMA=
- APT_DEPENDENCIES="doxygen doxygen-latex libboost-all-dev libeigen3-dev liblapack-dev libblas-dev gfortran python-dev python-sphinx"
- GIT_DEPENDENCIES="proyan/dynamic-graph"
- LCOV_IGNORE_RULES="*unitTesting*"
allow_failures:
- compiler: clang
notifications:
email:
- hpp-source@laas.fr
branches:
only:
- master
- debian
script: ./.travis/run build
after_success: ./.travis/run after_success
after_failure: ./.travis/run after_failure
before_install: ./.travis/run before_install
matrix:
allow_failures:
- compiler: clang
tests/test_python-syntax_error.py
Authors:
# Copyright 2010, 2011, Florent Lamiraux, Thomas Moulard, JRL, CNRS/AIST # Copyright 2010-2020, Florent Lamiraux, Thomas Moulard, Olivier Stasse, Guilhem
# # Saurel, JRL, CNRS/AIST, LAAS-CNRS
# This file is part of dynamic-graph-python.
# dynamic-graph-python is free software: you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# dynamic-graph-python is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Lesser Public License for more details. You should have
# received a copy of the GNU Lesser General Public License along with
# dynamic-graph-python. If not, see <http://www.gnu.org/licenses/>.
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE(cmake/base.cmake)
INCLUDE(cmake/boost.cmake)
INCLUDE(cmake/eigen.cmake)
INCLUDE(cmake/pthread.cmake)
INCLUDE(cmake/cpack.cmake)
include(cmake/header.cmake)
include(cmake/python.cmake)
SET(PROJECT_NAME dynamic-graph-python)
SET(PROJECT_DESCRIPTION "Dynamic graph library Python bindings")
SET(PROJECT_URL "http://github.com/stack-of-tasks/dynamic-graph-python")
SET(DOXYGEN_USE_MATHJAX YES)
SET(CUSTOM_HEADER_DIR "dynamic-graph/python")
# Headers list.
SET(${PROJECT_NAME}_HEADERS
include/dynamic-graph/python/interpreter.hh
include/dynamic-graph/python/api.hh
include/dynamic-graph/python/exception-python.hh
cmake_minimum_required(VERSION 3.1)
# Project properties
set(PROJECT_ORG stack-of-tasks)
set(PROJECT_NAME dynamic-graph-python)
set(PROJECT_DESCRIPTION "Dynamic graph library Python bindings")
set(PROJECT_URL "https://github.com/${PROJECT_ORG}/${PROJECT_NAME}")
# Project options
option(SUFFIX_SO_VERSION "Suffix library name with its version" ON)
# Project configuration
set(PROJECT_USE_CMAKE_EXPORT TRUE)
set(CUSTOM_HEADER_DIR "dynamic-graph/python")
set(CXX_DISABLE_WERROR TRUE)
set(DOXYGEN_USE_MATHJAX YES)
# JRL-cmakemodule setup
include(cmake/base.cmake)
include(cmake/boost.cmake)
# Project definition
compute_project_args(PROJECT_ARGS LANGUAGES CXX)
project(${PROJECT_NAME} ${PROJECT_ARGS})
check_minimal_cxx_standard(14 ENFORCE)
# Project dependencies
set(PYTHON_COMPONENTS Interpreter Development NumPy)
add_project_dependency(dynamic-graph 4.4.0 REQUIRED)
add_project_dependency(eigenpy 2.7.10 REQUIRED)
set(PYTHON_EXPORT_DEPENDENCY_MACROS
"list(APPEND PYTHON_COMPONENTS ${PYTHON_COMPONENTS})\n${PYTHON_EXPORT_DEPENDENCY_MACROS}"
) )
if(BUILD_TESTING)
find_package(Boost REQUIRED COMPONENTS unit_test_framework)
endif(BUILD_TESTING)
SET(PKG_CONFIG_ADDITIONAL_VARIABLES plugindir ${PKG_CONFIG_ADDITIONAL_VARIABLES}) if(Boost_VERSION GREATER 107299 OR Boost_VERSION_MACRO GREATER 107299)
# Silence a warning about a deprecated use of boost bind by boost >= 1.73
# without dropping support for boost < 1.73
add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)
endif()
SETUP_PROJECT() # Main Library
set(${PROJECT_NAME}_HEADERS
include/${CUSTOM_HEADER_DIR}/api.hh
include/${CUSTOM_HEADER_DIR}/convert-dg-to-py.hh
include/${CUSTOM_HEADER_DIR}/dynamic-graph-py.hh
include/${CUSTOM_HEADER_DIR}/fwd.hh
include/${CUSTOM_HEADER_DIR}/interpreter.hh
include/${CUSTOM_HEADER_DIR}/module.hh
include/${CUSTOM_HEADER_DIR}/python-compat.hh
include/${CUSTOM_HEADER_DIR}/signal.hh
include/${CUSTOM_HEADER_DIR}/signal-wrapper.hh)
FINDPYTHON(2.7 EXACT REQUIRED) set(${PROJECT_NAME}_SOURCES
src/interpreter.cc src/dynamic_graph/python-compat.cc
src/dynamic_graph/entity-py.cc src/dynamic_graph/convert-dg-to-py.cc)
# Trigger dependency to dynamic-graph. add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_SOURCES}
ADD_REQUIRED_DEPENDENCY("dynamic-graph >= 3.0.0") ${${PROJECT_NAME}_HEADERS})
target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
target_link_libraries(${PROJECT_NAME} PUBLIC dynamic-graph::dynamic-graph)
modernize_target_link_libraries(
${PROJECT_NAME}
SCOPE
PUBLIC
TARGETS
Python${PYTHON_VERSION_MAJOR}::Python
LIBRARIES
${PYTHON_LIBRARIES}
INCLUDE_DIRS
${PYTHON_INCLUDE_DIRS})
target_link_boost_python(${PROJECT_NAME} PUBLIC)
# Add dependency toward dynamic graph library in pkg-config file. if(SUFFIX_SO_VERSION)
PKG_CONFIG_APPEND_LIBS("dynamic-graph-python") set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
endif(SUFFIX_SO_VERSION)
# Search for Boost. target_compile_definitions(${PROJECT_NAME}
SET(BOOST_COMPONENTS python filesystem system thread program_options unit_test_framework) PRIVATE PYTHON_LIBRARY="${PYTHON_LIBRARY}")
SEARCH_FOR_BOOST()
SEARCH_FOR_EIGEN()
ADD_SUBDIRECTORY(src) install(
ADD_SUBDIRECTORY(include) TARGETS ${PROJECT_NAME}
ADD_SUBDIRECTORY(doc) EXPORT ${TARGETS_EXPORT_NAME}
ADD_SUBDIRECTORY(unitTesting) DESTINATION lib)
SETUP_PROJECT_FINALIZE() add_subdirectory(src)
if(BUILD_TESTING)
add_subdirectory(tests)
endif(BUILD_TESTING)
install(FILES package.xml DESTINATION share/${PROJECT_NAME})
BSD 2-Clause License BSD 2-Clause License
Copyright (c) 2018, CNRS Copyright (c) 2011-2019, CNRS
Author: Stack of Tasks Development Team Author: Stack of Tasks Development Team
All rights reserved. All rights reserved.
......
CHANGELOG
----------------------
[Current]
* Synchronize
* Allow iterable instead of only tuple in signal value affectation.
* Synchronize.
* Fix compilation on Ubuntu 10.04 (32 bits).
* Fix Ubuntu 12.04 (64 bits) portability issues.
* Corrected the #include problem.
* Modify SignalBase.value.
[v2.5.3]
* Update ChangeLog.
* Fix pb with filesystem version.
[v2.5.2]
* Make runCommand without error messages deprecated.
* Changes std::cout to dgDEBUG.
* Add test to detect statement in evaluation.
* Synchronize cmake
* Robustify the python interpreter when some python objects cannot be stringified.
* Synchronize.
* Correct the link with boost on Ubuntu 11.04.
* Keep track of entities created via python.
* Document entity class types with the output of C++ getDocString method.
* In command Entity.help (), first print __doc__ if any.
* Make bindings more robust to exceptions.
* Make sure that Boost.Filesystem v2 is used.
* Revert "Add appropriate flag. file_system::file_string is deprecated since boost 1.46."
* Synchronize cmake submodule.
* Catch exceptions in getValue of signal-base-py.cc
* Add appropriate flag. file_system::file_string is deprecated since boost 1.46.
* Synchronize.
* Win32: Remove wrong LoadLibrary.
* Correct the handling of python modules
* Correct the link with boost for Mac systems
* Add missing dependency in python
* Correct the link with the plugins for the wrap
* Correct the Python_module handling
* Correct link and dependencies
* Clean cmake files by using the routines in cmake/python.cmake
* Win32: correct the library load
* Win32: Correct the API of exception-python.hh
* Revert "Correct the link with lapack"
* Correct the link with lapack
* Correct the link with boost libraries
* Python object SignalBase can be constructed only with a SignalBase C++ object.
* Revert "Modify SignalBase.value."
* Modify SignalBase.value.
[v2.5.1]
* Update NEWS.
* Add python binding for writing graph.
* Make error message more expressive.
* Enforce compatibility with python3.
* Replace dl module by DLFCN.
* More search for boost earlier in file.
* Synchronize and fix definition of PYTHON_SITELIB.
* Add dynamicgraph namespace to make VP_DEBUG mode compile.
* Minor changes in matlab display. Add a functor member to explicit the callable of optionalparentethis.
* Add tools.py file containing addTrace.
[v2.5]
* Replace call to g_caster by call to SignalCaster::getInstance static method.
* FactoryStorage and PoolStorage are now singletons.
* Homogeneize error messages.
* Fix bug in getCommandDocstring.
* Changed the factory to enable heritage for Entity py-classes.
* Return a python error instead of throwing C++ exception.
* Merge branches 'topic/jrl-mal' and 'topic/jrl-mal' of ssh://github.com/jrl-umi3218/dynamic-graph-python into topic/jrl-mal
* Correct a bug in parsing vector commands with integer value.
* Finished to correct the name of the DG error.
* Replace two remaining error by dgpyError.
* Correct exception throwing from C++ to rely raise something in the interpreter.
* Systematically catch std::exception abstract in python bindings.
* Corrected a wrong cast for specialized type in signal value accessor.
* Add method intepreter::python with stdout and stderr returned along with result.
* Make error message more specific whenever Entity.__getattr__ fails.
* Added a protection to avoid erasing signal name when setting a new value to the signal.
* Added the decorator optionalparentheses.
* Corrected a syntax error in an exception raising + remove the shortcut .m from the class basic definition.
* Corrected minor bug in command return.
* Added the entity.sigs shortcuts.
* Reorganize the command bindings of the entity classes. Remove the script shortcuts from the basic definition of Entity.
* Added the setattrpath function to handle for command name with . inside, like: robot.periodicCall.addSignal.
* Display repr() output instead of str() when command is successful.
* Do not add current directory in sys.path.
* Added a proper factory for pyEntities.
* Modify the "runFile" function that was not working, at create a new function to call for the shell.
* Changed the call to create_entity: when the required creation names already exists, check is the existing object is of the same class. If it is, returns the existing object instead of creating a new oine.
* IVIGIT.
* Added an exception to handle error while creating an object.
* Dynamically load libpython.so before initializing python interpreter.
* Add an accessor to get the global dictionary.
* Account for singleton rewriting of g_caster.
* Added a wrapper for entities of dg.
* Added display and displayDep in entity and signal.
* Bind SignalBase<T, int>::setTime.
* Revert "Set version number as 1.99."
* Fix --libs output of pkg-config and link boost and python with library.
* Added missing convert.cc in the makefile.
* Added some specific convertion for vector, matrix and double signal, from C to Python (to avoid unnecessary convertion through strings.
* IVIGIT: passes some conveertion code from entity-py to the new files, for mutualisation.
* Added exception.hh in the files to install.
* IVIGIT.
* Install and include in interpreter.hh api.hh.
* Fix installation of header file.
* Set version number as 1.99.
* Enable conversion from int to float and double in argument of bound functions.
* Added the display method, py-bound in __str__.
* Added a method to bound all new commands.
* Added a method to bound new commands dynamically.
* Define function display.
* Enable reading an int as a float when parsing a matrix.
* Added shortcuts in the entity and signal-base api to help debuging during online script execution.
* Added the unplug python function as a member of the signal-base class.
* Set sys.argv to [''] at initialization.
* Implement on-board python interpreter
* Added build and ~ in the gitignoe.
* Update docstring of Entity.signals().
* Bind SignalBase.display() and implement Entity.displaySignals() in python.
* Fix typo.
* Fix warnings.
* Save temporary changes to get list of signals of an entity.
* Synchronize cmake submodule.
* Raise exception when PyCObject_Check fails.
* Fix warnings.
* Switch to submodule.
* Do not destroy C++ entity when destroying python binding object.
* In Entity class, each signal gives rise to an attribute returning the signal.
* Change the error message when an attribute does not exist.
* Add a method getName in python class SignalBase
* Added the signals in the attribute of the entity class.
* With the doc.
* Added an helper to get the commands list and doc.
* Set error message in function w_plug when arguments are of wrong types.
* Add a function to get the list of type names registered for signals.
* Catch exception in SignalBase::recompute().
* Rename method display_signals -> displaySignals.
* Add recompute method in SignalBase python class.
* Add a function to get the list of type names registered for signals.
* Rename error
* Rewrite enableTrace command without using commandLine.
* Handle entity type as input to signal_base.value setter.
* Catch std::exception instead of dynamicgraph::ExceptionFactory.
* Remove debug output.
* Fix a bug in conversion of tuple of tuple python object to matrix.
* Rewrite stringToTuple and stringToMatrix in a simpler way.
* Set flags of dynamic loader so that symbols are global.
* Check that argument is string when string is expected in command.
* Catch std::exception when executing command
* Comply with jrl-mal syntax for vectors and matrices.
* Replace object member by obj in classes
* Rename method in python module
* When building python Entity classes, populate methods with docstrings.
* Use autotools substitution rule.
* Use submodule cmake to generate python documentation
* Add documentation generation using sphinx.
* Add submodule cmake
* Re-inforce type checking.
* Allow SignalBase.value to take typed arguments
* Remove debug output
* Remove debug output
* Implement tupleToString function
* Fix typo.
* Switch arguments of command plug.
* Fix a bug in handling of new types
* Support more types in command parameters
* Add a function to convert a string to a tuple
* Fix memory issue
* Remove trailing white spaces.
* Bind Entity commands as method in python classes
* Get rid of warning message
* Bind method Entity::getNewStyleCommandMap()
* Add a class attribute to store whether command methods have been created.
* Register Entity classes in modules from which they are imported
* Implement a function that creates a python class for for each entity C++ class
* Implement return value for commands.
* Fix a memory bug
* Add some debug output
* Implement binidings for commands
* Use factory to create entities.
* Bind method Entity::listEntities.
* Fix comment
* Make classes derive from object and re-introduce getter and setter decorators
* Remove registration of new ublas vector type.
* Call plug with right order for signals: plug (sigIn, sigOut).
* Rewrite dynamic_graph.plug.
* Use class InterpreterHelper instead of Interpreter.
* Catch exceptions in signal set and get value methods.
* Catch exceptions in signal set and get value methods.
* Do not use sophisticated setter and getter for the moment
* Change signal access method name in Entity python class
* Adapt to dynamic-graph change of interface
* Implement set and get signal value
* Fix constructor of python class SignalBase.
* Implement bindings for Entity and SignalBase C++ classes.
* Raise a python exception upon c++ exception in plug command
* Implement binding python for plug.
* Fix compilation of python module
* Bindings python for dynamic_grapĥ.
#
# Copyright
#
Installation instructions for library dynamic-graph-python
----------------------------------------------
It is recommended to create a specific directory to install this package.
mkdir build
cd build
cmake [Options] ..
make
make install
Options:
-DCMAKE_INSTALL_PREFIX=...
specifies the directory where to install the package.
-DCMAKE_BUILD_TYPE=[none|debug|release|relwithdebinfo|MinSizeRel]
specifies to type of compilation (release, debug, ...)
New in version 2.5.1 - 2011-12-07
* Move search for boost earlier in CMakeLists.txt,
* Use PyObject_IsTrue to test a boolean C/Python API,
* Replace deprecated python module dl module by DLFCN,
* use print as a function for python 3 compatibility,
* Modification of signal management for vector and matrix data,
* Python files are now installed in site-packages instead of dist-packages,
* Add tools.py file containing addTrace.
New in version 2.5 - 2011-06-21
dynamic-graph-python # dynamic-graph-python
====================
[![Building Status](https://travis-ci.org/stack-of-tasks/dynamic-graph-python.svg?branch=master)](https://travis-ci.org/stack-of-tasks/dynamic-graph-python) [![Building Status](https://travis-ci.org/stack-of-tasks/dynamic-graph-python.svg?branch=master)](https://travis-ci.org/stack-of-tasks/dynamic-graph-python)
[![Pipeline status](https://gepgitlab.laas.fr/stack-of-tasks/dynamic-graph-python/badges/master/pipeline.svg)](https://gepgitlab.laas.fr/stack-of-tasks/dynamic-graph-python/commits/master) [![Pipeline status](https://gitlab.laas.fr/stack-of-tasks/dynamic-graph-python/badges/master/pipeline.svg)](https://gitlab.laas.fr/stack-of-tasks/dynamic-graph-python/commits/master)
[![Coverage report](https://gepgitlab.laas.fr/stack-of-tasks/dynamic-graph-python/badges/master/coverage.svg?job=doc-coverage)](http://projects.laas.fr/stack-of-tasks/doc/stack-of-tasks/dynamic-graph-python/master/coverage/) [![Coverage report](https://gitlab.laas.fr/stack-of-tasks/dynamic-graph-python/badges/master/coverage.svg?job=doc-coverage)](http://projects.laas.fr/stack-of-tasks/doc/stack-of-tasks/dynamic-graph-python/master/coverage/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/stack-of-tasks/dynamic-graph-python/master.svg)](https://results.pre-commit.ci/latest/github/stack-of-tasks/dynamic-graph-python)
Python bindings for dynamic-graph. Python bindings for dynamic-graph.
...@@ -14,52 +15,19 @@ submodules][git-submodules]. Please clone this repository using the ...@@ -14,52 +15,19 @@ submodules][git-submodules]. Please clone this repository using the
repository, you can run `git submodule init && git submodule update` repository, you can run `git submodule init && git submodule update`
to retrieve the submodules. to retrieve the submodules.
## Documentation
Documentation [Online](https://gepettoweb.laas.fr/doc/stack-of-tasks/dynamic-graph-python/master/doxygen-html/)
-------------
To get started with this library, please read the [online Doxygen
documentation][doxygen-documentation].
It can also be generated locally by running the `make doc` ## Getting Help
command. After the package is installed, the documentation will be
located in the `$prefix/share/doc/dynamic-graph` directoy where
`$prefix` is your installation prefix (`/usr/local` by default).
Getting Help
------------
Support is provided through: Support is provided through:
* the HPP mailing-list: hpp@laas.fr * the [issue tracker](https://github.com/stack-of-tasks/dynamic-graph-python/issues)
* the following HipChat room: http://www.hipchat.com/gh4wQrZeV * the matrix room [#stack-of-tasks:laas.fr](https://matrix.to/#/#stack-of-tasks:laas.fr)
How can I install dynamic-graph?
--------------------------------
### Installing dependencies
The matrix abstract layer depends on several packages which
have to be available on your machine.
- Libraries:
- [Boost][] (>= 1.40)
Its detection is controled by the `BOOST_ROOT` variable, see next section
for more information.
- [Lapack][] library
Use the generic purpose `CMAKE_CXX_FLAGS` and `CMAKE_EXE_LINKER_FLAGS`
to insert the flags required for the compiler to find your Lapack library
if it is installed in a non-standard directory.
- [jrl-mal][] library
- [dynamic-graph][] library
- System tools:
- [CMake][] (>=2.6)
- [pkg-config][]
- usual compilation tools (GCC/G++, make, etc.)
If you are using Ubuntu, these tools are gathered in the `build-essential` package.
## How can I install dynamic-graph?
### Compiling and installing the package ### Compiling and installing the package
...@@ -68,24 +36,21 @@ The manual compilation requires two steps: ...@@ -68,24 +36,21 @@ The manual compilation requires two steps:
1. configuration of the build and generation of the build files 1. configuration of the build and generation of the build files
2. compilation of the sources and installation of the package 2. compilation of the sources and installation of the package
dynamic-graph uses [CMake][] to generate build files. It is dynamic-graph uses CMake to generate build files. It is
recommended to create a separate build directory: recommended to create a separate build directory:
```sh ```sh
mkdir _build # (1) Create a build directory mkdir build
cd _build # (2) Go to the newly created build directory cd build
cmake [options] .. # (3) Generate the build files cmake ..
``` ```
Options which can be passed to CMake are detailed in the next section.
```sh ```sh
make # (4) Compile the package make
make test # (5) Execute the package tests make test
make install # (6) Install the package into the prefix (see step 3) make install
``` ```
### Options ### Options
Additional options can be set on the command line through the Additional options can be set on the command line through the
...@@ -109,14 +74,8 @@ Available options are: ...@@ -109,14 +74,8 @@ Available options are:
The test suite can be run from your build directory by running: The test suite can be run from your build directory by running:
```sh ```sh
make test make test
``` ```
Please open a ticket if some tests are failing on your computer, it Please open a ticket if some tests are failing on your computer, it
should not be the case. should not be the case.
Credits
-------
This package authors are credited in the [AUTHORS](AUTHORS) file.
Subproject commit 99aafa43694125e67046bdc91c7b6485b5b6ca45 Subproject commit 08c2c18b9033c2f0a86b885b589f4fa63a163caf
python-dynamic-graph (3.0.0-0ubuntu1ppa0~precise3) precise; urgency=low
* Update package dependencies
-- Rohan Budhiraja <budhiraja.rohan@gmail.com> Fri, 27 May 2016 18:51:23 +0200
python-dynamic-graph (3.0.0-0ubuntu1ppa0~precise2) precise; urgency=low
* Update package dependencies
-- Rohan Budhiraja <budhiraja.rohan@gmail.com> Fri, 27 May 2016 18:41:23 +0200
python-dynamic-graph (3.0.0-0ubuntu1ppa0~precise1) precise; urgency=low
* Initial release
-- Rohan Budhiraja <budhiraja.rohan@gmail.com> Wed, 04 May 2016 14:34:08 +0200
8
Source: python-dynamic-graph
Section: python
X-Python-Version: 2.6,2.7
Priority: extra
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Build-Depends: debhelper (>= 8.0.0),
cmake (>=2.6),
doxygen (>=1.6.3),
pkg-config (>=0.22),
python (<<2.8),
python (>=2.7),
python-sphinx (>=1.1),
libdynamic-graph-dev (>=3.0.0),
libboost-dev (>=1.46),
libboost-filesystem-dev (>=1.46),
libboost-python-dev (>=1.46),
libboost-system-dev (>=1.46),
libboost-test-dev (>=1.46),
libboost-thread-dev (>=1.46),
libboost-program-options-dev (>=1.46),
libeigen3-dev (>=3.0.5)
Standards-Version: 3.9.7
Homepage: http://stack-of-tasks.github.io/
Vcs-Git: git://github.com/proyan/dynamic-graph-python.git
Package: python-dynamic-graph-dev
Architecture: any
Suggests: python-dynamic-graph-doc
Depends: libdynamic-graph-python3.0.0 (= ${binary:Version}),
${misc:Depends}
Description: Python bindings for dynamic-graph library - Development Files
The dynamic graph library allows the representation of data-flow in C++.
It provides fast graph evaluation and a simple script language to manipulate
the graph actions.
.
This package contains dynamic-graph development files.
Package: python-dynamic-graph
Architecture: any
Suggests: python-dynamic-graph-doc
Provides: ${python:Provides}
Depends: libdynamic-graph-python3.0.0 (= ${binary:Version}), ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
Description: Python bindings for dynamic-graph library
The dynamic graph library allows the representation of data-flow in C++.
It provides fast graph evaluation and a simple script language to manipulate
the graph actions.
.
This package contains modules that allow you to use dynamic-graph from Python.
Package: libdynamic-graph-python3.0.0
Architecture: any
Suggests: python-dynamic-graph-doc
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Python bindings for dynamic-graph library (Binary and shared libraries)
The dynamic graph library allows the representation of data-flow in C++.
It provides fast graph evaluation and a simple script language to manipulate
the graph actions.
.
This package contains binaries and shared libraries.
Package: python-dynamic-graph-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}
Description: Python bindings for dynamic-graph library (common documentation)
The dynamic graph library allows the representation of data-flow in C++.
It provides fast graph evaluation and a simple script language to manipulate
the graph actions.
.
This is the common documentation package
\ No newline at end of file
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
Upstream-Name: dynamic-graph-python
Upstream-Contact: HPP mailing list <hpp@laas.fr>
Source: https://github.com/proyan/dynamic-graph-python
Files: *
Copyright: 2010-2016 JRL, CNRS/AIST.
License: LGPL-3
See `/usr/share/common-licenses/LGPL-3'.
Files: debian/*
Copyright: 2016 Rohan Budhiraja
License: LGPL-3
See `/usr/share/common-licenses/LGPL-3'.
\ No newline at end of file
NEWS
README.md