ros_tutorials icon indicating copy to clipboard operation
ros_tutorials copied to clipboard

Example Python package - setup.py deprecated

Open eduardo4jesus opened this issue 5 months ago • 0 comments

Is there an example of building a Python package?

I am using osrf/ros:jazzy-desktop

When building a package just created with ros2 pkg, I get this error:

$ colcon build       
/usr/lib/python3/dist-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)

eduardo4jesus avatar Sep 26 '24 20:09 eduardo4jesus