No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.

catkin_pip package from catkin_pip repo

catkin_pip

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
Released RELEASED

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

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.
  • 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.
  • 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.
  • 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.
  • 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

0.1.18 (2017-03-04)

  • Pin pytest to latest version 3.0.5
  • Pin pytest-timeout to latest version 1.2.0
  • Pin nose to latest version 1.3.7
  • Pin pytest-cov to latest version 2.4.0
  • Pin cookiecutter to latest version 1.5.0
  • adding pyup checks for dependencies
  • Contributors: AlexV, alexv, pyup-bot

0.1.17 (2017-01-13)

  • now always ignore-installed when installing requirements.
  • pinned pip to 8.1.2 because of https://github.com/asmodehn/catkin_pip/issues/58
  • Merge pull request #57 from asmodehn/devel upgrading gopher_devel
  • Merge pull request #56 from asmodehn/gopher-devel drop some echoing
  • drop some echoing
  • Contributors: AlexV, Daniel Stonier, alexv

0.1.16 (2016-09-05)

  • now also checking for --system for pip > 6.0.0.
  • small improvements for travis checks
  • Contributors: AlexV, alexv

0.1.15 (2016-09-01)

  • now transferring paths from pth in devel site-packages to pythonpath shell env, to handle egg-link and workspace overlaying together...
  • adding current devel space dist-packages via envhook to get it even if env not sourced... is it a good idea ?
  • officially not supporting broken old pip on EOL saucy.
  • Contributors: AlexV, alexv

0.1.14 (2016-08-30)

  • Merge pull request #44 from asmodehn/pip_system Now checking for pip --system option before using.
  • Now checking for pip --system option before using. cleanup some cmake status messages.
  • improving pip detection
  • Contributors: AlexV, alexv

0.1.13 (2016-08-28)

  • fixing install rule for moved script.
  • getting rid of rospack dependency. didnt always work. moved pythonpath_prepend shell script to use it via cmake variable.
  • now checking system pip version to choose command line arguments for setup
  • Contributors: AlexV

0.1.12 (2016-08-27)

  • Merge pull request #40 from asmodehn/env_hooks Env hooks
  • Merge pull request #39 from asmodehn/include_seq preventing multiple includes, reviewing variable scope.
  • preventing multiple includes, reviewing variable scope.
  • Merge branch 'devel' of https://github.com/asmodehn/catkin_pip into env_hooks # Conflicts: # CMakeLists.txt # cmake/catkin-pip.cmake.in # cmake/env-hooks/42.site_packages.bash.develspace.in
  • Updated README
  • Merge pull request #33 from asmodehn/install_no_deps first implementation of --no-deps to no install a package dependencie

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

No dependencies on ROS packages.

System Dependencies

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 answers.ros.org

catkin_pip package from catkin_pip repo

catkin_pip

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
Released RELEASED

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

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.
  • 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.
  • 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.
  • 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.
  • 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

0.1.18 (2017-03-04)

  • Pin pytest to latest version 3.0.5
  • Pin pytest-timeout to latest version 1.2.0
  • Pin nose to latest version 1.3.7
  • Pin pytest-cov to latest version 2.4.0
  • Pin cookiecutter to latest version 1.5.0
  • adding pyup checks for dependencies
  • Contributors: AlexV, alexv, pyup-bot

0.1.17 (2017-01-13)

  • now always ignore-installed when installing requirements.
  • pinned pip to 8.1.2 because of https://github.com/asmodehn/catkin_pip/issues/58
  • Merge pull request #57 from asmodehn/devel upgrading gopher_devel
  • Merge pull request #56 from asmodehn/gopher-devel drop some echoing
  • drop some echoing
  • Contributors: AlexV, Daniel Stonier, alexv

0.1.16 (2016-09-05)

  • now also checking for --system for pip > 6.0.0.
  • small improvements for travis checks
  • Contributors: AlexV, alexv

0.1.15 (2016-09-01)

  • now transferring paths from pth in devel site-packages to pythonpath shell env, to handle egg-link and workspace overlaying together...
  • adding current devel space dist-packages via envhook to get it even if env not sourced... is it a good idea ?
  • officially not supporting broken old pip on EOL saucy.
  • Contributors: AlexV, alexv

0.1.14 (2016-08-30)

  • Merge pull request #44 from asmodehn/pip_system Now checking for pip --system option before using.
  • Now checking for pip --system option before using. cleanup some cmake status messages.
  • improving pip detection
  • Contributors: AlexV, alexv

0.1.13 (2016-08-28)

  • fixing install rule for moved script.
  • getting rid of rospack dependency. didnt always work. moved pythonpath_prepend shell script to use it via cmake variable.
  • now checking system pip version to choose command line arguments for setup
  • Contributors: AlexV

0.1.12 (2016-08-27)

  • Merge pull request #40 from asmodehn/env_hooks Env hooks
  • Merge pull request #39 from asmodehn/include_seq preventing multiple includes, reviewing variable scope.
  • preventing multiple includes, reviewing variable scope.
  • Merge branch 'devel' of https://github.com/asmodehn/catkin_pip into env_hooks # Conflicts: # CMakeLists.txt # cmake/catkin-pip.cmake.in # cmake/env-hooks/42.site_packages.bash.develspace.in
  • Updated README
  • Merge pull request #33 from asmodehn/install_no_deps first implementation of --no-deps to no install a package dependencie

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

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 answers.ros.org

catkin_pip package from catkin_pip repo

catkin_pip

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
Released RELEASED

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

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.
  • 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.
  • 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.
  • 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.
  • 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

0.1.18 (2017-03-04)

  • Pin pytest to latest version 3.0.5
  • Pin pytest-timeout to latest version 1.2.0
  • Pin nose to latest version 1.3.7
  • Pin pytest-cov to latest version 2.4.0
  • Pin cookiecutter to latest version 1.5.0
  • adding pyup checks for dependencies
  • Contributors: AlexV, alexv, pyup-bot

0.1.17 (2017-01-13)

  • now always ignore-installed when installing requirements.
  • pinned pip to 8.1.2 because of https://github.com/asmodehn/catkin_pip/issues/58
  • Merge pull request #57 from asmodehn/devel upgrading gopher_devel
  • Merge pull request #56 from asmodehn/gopher-devel drop some echoing
  • drop some echoing
  • Contributors: AlexV, Daniel Stonier, alexv

0.1.16 (2016-09-05)

  • now also checking for --system for pip > 6.0.0.
  • small improvements for travis checks
  • Contributors: AlexV, alexv

0.1.15 (2016-09-01)

  • now transferring paths from pth in devel site-packages to pythonpath shell env, to handle egg-link and workspace overlaying together...
  • adding current devel space dist-packages via envhook to get it even if env not sourced... is it a good idea ?
  • officially not supporting broken old pip on EOL saucy.
  • Contributors: AlexV, alexv

0.1.14 (2016-08-30)

  • Merge pull request #44 from asmodehn/pip_system Now checking for pip --system option before using.
  • Now checking for pip --system option before using. cleanup some cmake status messages.
  • improving pip detection
  • Contributors: AlexV, alexv

0.1.13 (2016-08-28)

  • fixing install rule for moved script.
  • getting rid of rospack dependency. didnt always work. moved pythonpath_prepend shell script to use it via cmake variable.
  • now checking system pip version to choose command line arguments for setup
  • Contributors: AlexV

0.1.12 (2016-08-27)

  • Merge pull request #40 from asmodehn/env_hooks Env hooks
  • Merge pull request #39 from asmodehn/include_seq preventing multiple includes, reviewing variable scope.
  • preventing multiple includes, reviewing variable scope.
  • Merge branch 'devel' of https://github.com/asmodehn/catkin_pip into env_hooks # Conflicts: # CMakeLists.txt # cmake/catkin-pip.cmake.in # cmake/env-hooks/42.site_packages.bash.develspace.in
  • Updated README
  • Merge pull request #33 from asmodehn/install_no_deps first implementation of --no-deps to no install a package dependencie

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

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 answers.ros.org

No version for distro ardent. Known supported distros are highlighted in the buttons above.

catkin_pip package from catkin_pip repo

catkin_pip

Package Summary

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

Repository Summary

Checkout URI https://github.com/pyros-dev/catkin_pip.git
VCS Type git
VCS Version jade
Last Updated 2017-03-22
Dev Status DEVELOPED
Released UNRELEASED

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

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.
  • 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.
  • 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.
  • 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

0.1.18 (2017-03-04)

  • Pin pytest to latest version 3.0.5
  • Pin pytest-timeout to latest version 1.2.0
  • Pin nose to latest version 1.3.7
  • Pin pytest-cov to latest version 2.4.0
  • Pin cookiecutter to latest version 1.5.0
  • adding pyup checks for dependencies
  • Contributors: AlexV, alexv, pyup-bot

0.1.17 (2017-01-13)

  • now always ignore-installed when installing requirements.
  • pinned pip to 8.1.2 because of https://github.com/asmodehn/catkin_pip/issues/58
  • Merge pull request #57 from asmodehn/devel upgrading gopher_devel
  • Merge pull request #56 from asmodehn/gopher-devel drop some echoing
  • drop some echoing
  • Contributors: AlexV, Daniel Stonier, alexv

0.1.16 (2016-09-05)

  • now also checking for --system for pip > 6.0.0.
  • small improvements for travis checks
  • Contributors: AlexV, alexv

0.1.15 (2016-09-01)

  • now transferring paths from pth in devel site-packages to pythonpath shell env, to handle egg-link and workspace overlaying together...
  • adding current devel space dist-packages via envhook to get it even if env not sourced... is it a good idea ?
  • officially not supporting broken old pip on EOL saucy.
  • Contributors: AlexV, alexv

0.1.14 (2016-08-30)

  • Merge pull request #44 from asmodehn/pip_system Now checking for pip --system option before using.
  • Now checking for pip --system option before using. cleanup some cmake status messages.
  • improving pip detection
  • Contributors: AlexV, alexv

0.1.13 (2016-08-28)

  • fixing install rule for moved script.
  • getting rid of rospack dependency. didnt always work. moved pythonpath_prepend shell script to use it via cmake variable.
  • now checking system pip version to choose command line arguments for setup
  • Contributors: AlexV

0.1.12 (2016-08-27)

  • Merge pull request #40 from asmodehn/env_hooks Env hooks
  • Merge pull request #39 from asmodehn/include_seq preventing multiple includes, reviewing variable scope.
  • preventing multiple includes, reviewing variable scope.
  • Merge branch 'devel' of https://github.com/asmodehn/catkin_pip into env_hooks # Conflicts: # CMakeLists.txt # cmake/catkin-pip.cmake.in # cmake/env-hooks/42.site_packages.bash.develspace.in
  • Updated README
  • Merge pull request #33 from asmodehn/install_no_deps first implementation of --no-deps to no install a package dependencie

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

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 answers.ros.org

No version for distro hydro. Known supported distros are highlighted in the buttons above.