No version for distro humble showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro jazzy showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro kilted showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro rolling showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro ardent showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro bouncy showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro crystal showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro eloquent showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro dashing showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro galactic showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro foxy showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro iron showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
jade

Package Summary

Tags No category tags.
Version 0.2.0
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/asmodehn/catkin_pip.git
VCS Type git
VCS Version jade
Last Updated 2017-03-22
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Build
Status

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.
  • more exhaustive test for sys_path
  • commenting echoes from script since it cannot echo without breaking things anyway.
  • reviewing shell script to make them a tiny more robust...
  • removed useless bash envhook, fixed easy-install parse to include last line even if no empty line at end of file.
  • Merge pull request #77 from asmodehn/pyup-update-pytest-3.0.5-to-3.0.6 Update pytest to 3.0.6
  • Merge pull request #86 from asmodehn/pyup-update-cookiecutter-1.5.0-to-1.5.1 Update cookiecutter to 1.5.1
  • Update cookiecutter from 1.5.0 to 1.5.1
  • moved rosdep install out of catkin_pip, only used for tests. temporarily skipping broken test because of pip behavior...
  • improved concurrency handling for pip by using setlock from daemontools. improved status message output.
  • adding libssl-dev as dependency forpypackage
  • adding catkin_pip function to call rosdep install. attempting fix for pypackage tests.
  • adding libffi-dev as build_depend for python_boilerplate
  • API changed ! redesigned workflow by doing "pip install -e package" during make stage instead of configure. All tests passing.
  • Update pytest from 3.0.5 to 3.0.6
  • reverted to pip 8.1.2 changes added in prevision of switching to pip 9.X when --ignore-installed working...
  • added comment about sourcing install/setup.bash
  • improved test cases to check the content of easy-install.pth
  • adding cookiecutter pypackage-minimal for tests
  • adding cookiecutter pypackage for tests
  • adding cookiecutter pylibrary for testing
  • adding result of investigation for unexpected dist-packages in sys.path tail... still WIP
  • now handling environment setup only via catkin_env from env-hooks. made pure sh envhook to allow implementing other shells.
  • WIP refactoring how we setup configure / build / devel/ install enironments
  • improved path_prepend shell script
  • Contributors: AlexV, alexv, pyup-bot
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
indigo

Package Summary

Tags No category tags.
Version 0.2.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version indigo
Last Updated 2017-05-11
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Build
Status

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.
  • more exhaustive test for sys_path
  • commenting echoes from script since it cannot echo without breaking things anyway.
  • reviewing shell script to make them a tiny more robust...
  • removed useless bash envhook, fixed easy-install parse to include last line even if no empty line at end of file.
  • Merge pull request #77 from asmodehn/pyup-update-pytest-3.0.5-to-3.0.6 Update pytest to 3.0.6
  • Merge pull request #86 from asmodehn/pyup-update-cookiecutter-1.5.0-to-1.5.1 Update cookiecutter to 1.5.1
  • Update cookiecutter from 1.5.0 to 1.5.1
  • moved rosdep install out of catkin_pip, only used for tests. temporarily skipping broken test because of pip behavior...
  • improved concurrency handling for pip by using setlock from daemontools. improved status message output.
  • adding libssl-dev as dependency forpypackage
  • adding catkin_pip function to call rosdep install. attempting fix for pypackage tests.
  • adding libffi-dev as build_depend for python_boilerplate
  • API changed ! redesigned workflow by doing "pip install -e package" during make stage instead of configure. All tests passing.
  • Update pytest from 3.0.5 to 3.0.6
  • reverted to pip 8.1.2 changes added in prevision of switching to pip 9.X when --ignore-installed working...
  • added comment about sourcing install/setup.bash
  • improved test cases to check the content of easy-install.pth
  • adding cookiecutter pypackage-minimal for tests
  • adding cookiecutter pypackage for tests
  • adding cookiecutter pylibrary for testing
  • adding result of investigation for unexpected dist-packages in sys.path tail... still WIP
  • now handling environment setup only via catkin_env from env-hooks. made pure sh envhook to allow implementing other shells.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro hydro showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
kinetic

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
melodic

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration : 0 / 0
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange

No version for distro noetic showing lunar. Known supported distros are highlighted in the buttons above.
Package symbol

catkin_pip package from catkin_pip repo

catkin_pip

ROS Distro
lunar

Package Summary

Tags No category tags.
Version 0.2.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version devel
Last Updated 2018-08-27
Dev Status DEVELOPED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.

Additional Links

Maintainers

  • AlexV

Authors

No additional authors.

catkin_pip

Documentation Status Build
Status 'Waffle.io - Columns and their card count' Gitter

| Provides catkin extension (cmake hooks) to work with pure python packages in catkin workspaces. | Because state of the art python (ref. http://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) should be allowed to work with catkin.

catkin_pip allows you to use your own package as a normal python package, with python workflow (example using virtualenvwrapper):

$ mkvirtualenv my_package_venv --system-site-packages
(my_package_venv)$ pip install -r requirements.txt
(my_package_venv)$ python -m my_package
(my_package_venv)$ nosetests my_package
(my_package_venv)$ deactivate
$

OR using the python workflow from inside a catkin workspace:

$ source /opt/ros/indigo/setup.bash
$ cd existing_catkin_ws
$ catkin_make
$ source devel/setup.bash
$ python -m my_package
$ nosetests my_package

TODO : improve this with real simple command line examples, copied verbatim.

| It basically make use, through cmake, of the workspace as a virtual env would be used in a python flow. | Mostly it’s just a few arguments added to pip to get it to install packages in the correct way in a workspace.

The provided cmake macros are:

  • catkin_pip_setup()
  • catkin_pip_requirements(requirements_file)
  • catkin_pip_package()

they can be used like this :

...
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

find_package(catkin REQUIRED COMPONENTS
    catkin_pip
)

# Getting pip requirements for catkin_pip itself
catkin_pip_setup()

# We need to install the project pip dependencies in the devel workspace being created
catkin_pip_requirements(${CMAKE_CURRENT_SOURCE_DIR}/requirements.txt)

# defining current package as a package that should be managed by pip (not catkin - even though we make it usable with workspaces)
catkin_pip_package()

# Corresponding install rules are also setup by each of these macros.
...

As a result you can:

  • Use pip/setup.py dependency mechanism with any python git repo, for devel workspace.
  • Use pip dependency requirements mechanism with any pip dependency, for devel workspace.
  • Directly work with python package sources in your usual catkin workspaces (devel only), after just adding a [CMakeLists.txt]{.title-ref} and a [package.xml]{.title-ref} files.
  • Work with "hybrid" packages that can be released both via pip packages and ros packages, provided the proper dependencies exists for both package management systems (Note rosdep support of pip is not clear...).
  • Do a Third Party release of an existing python package into a ROS package (no setup.py changes required).
CHANGELOG

Changelog for package catkin_pip

0.2.3 (2017-08-11)

  • Merge pull request #147 from pyros-dev/lunar adding lunar
  • adding --ignore-src when calling rosdep on tests, to not attempt to download an old (or missing) version of catkin_pip.
  • adding lunar
  • Merge pull request #144 from pyros-dev/fix_destinations fixing catkin_destination not being called
  • tests are now using the new catkin_pip_target and calling catkin_package directly.
  • adding catkin_pip_target to API, to allow the user to call catkin_package how he wants.
  • splitting catkin_pip_package in function and macro to expose the catkin_destinations variables set in the scope.
  • adding install rules to verify catkin variables.
  • Merge pull request #128 from pyros-dev/pyup-update-pytest-3.0.6-to-3.1.3 Update pytest to 3.1.3
  • Update pytest from 3.0.6 to 3.1.3
  • Contributors: AlexV, pyup-bot

0.2.2 (2017-05-30)

  • Merge pull request #123 from yotabits/devel Added option NOSE_OPT to catkin_add_nosetests func
  • Added option NOSE_OPT to catkin_add_nosetests func In order to use some specific option for nosetests we now have a NOSE_OPT parameter that allow to use some customs options for launching nosetests The same has been done for pytests with the param PYTEST_OPT
  • Contributors: AlexV, Thomas

0.2.1 (2017-05-11)

  • Merge pull request #115 from asmodehn/distutils Implementing distutils support
  • refining tests on install flow, to confirm which test framework is used. upgrading catkin package format to advised format 2.
  • fixes to support distutils as well as setuptools.
  • adding setuptools_setup test project and tests to validate package structure after installation.
  • adding test to make sure "make install" does not trigger errors.
  • adding a basic package to test distutils based setup.py
  • Contributors: AlexV, yotabits

0.2.0 (2017-03-17)

  • removing dependency on daemontools (not available on fedora)
  • setlock -> flock
  • Merge pull request #95 from k-okada/install_data data should not install right under the CMAKE_INSTALL_PREFIX
  • fixing syntax for ros distro autodetection when building this package.
  • Merge pull request #97 from asmodehn/gopher-devel Preparing next release 0.2
  • install data
  • Contributors: AlexV, Kei Okada, alexv
  • Merge branch 'devel' into gopher-devel
  • now using catkin_pip_runcmd to retrieve cookiecutter package samples.
  • removing install envhook. seems to break things. we dont want the install envhook to be created for catkin_pip since the target build env does not exist.
  • Merge pull request #61 from asmodehn/refactor_envs Refactor envs
  • adding docs to make decision clear regarding catkin / pyros_setup behavior.
  • fixing up install devel command since we do not pass editable pkg path into pythonpath anymore.
  • Merge branch 'gopher-devel' into refactor_envs
  • Merge pull request #76 from asmodehn/easyinstall_fix Easyinstall fix
  • commenting install tests... we dont have any.
  • always adding the catkin_pip_env path to pythonpath to be able to find basic tools from the first time around.
  • envhooks now not adding to pythonpath from pth files. too confusing. envhooks now not adding non existent paths to pythonpath. maybe good idea to match site module behavior. fixing tests.
  • improved tests. added test for check with pyros_setup and interractive debugging
  • fixed broken tests. now needs pyros-setup to get .pth paths before workspaces. cosmetics.
  • improved tests and fix all. added actual test for pytest to pipproject.
  • cleaning up command args when running pip install --editable to clean python path and workaround pip bug...
  • replacing CI_ROS_DISTRO var by ROS_DISTRO, to have it set for calls to rosdep.

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
catkin

System Dependencies

Dependant Packages

Name Deps
pyros_utils

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged catkin_pip at Robotics Stack Exchange