Skip to content
Snippets Groups Projects
  1. Apr 12, 2021
  2. Apr 10, 2021
  3. Apr 07, 2021
  4. Mar 25, 2021
  5. Mar 11, 2021
  6. Jan 28, 2021
  7. Jan 27, 2021
  8. Jan 10, 2021
  9. Nov 08, 2020
  10. Nov 03, 2020
  11. Oct 17, 2020
  12. Aug 12, 2020
  13. Jul 30, 2020
  14. Jul 07, 2020
  15. Jun 23, 2020
    • Chris Lalancette's avatar
      Remove the use of pkg_resources. (#225) · dbec91d1
      Chris Lalancette authored
      * Remove the use of pkg_resources.
      
      Importing pkg_resources is slow; really slow.  pkg_resources
      is also somewhat deprecated.  For both of these reaons, we
      would prefer to move away from pkg_resources and start using
      importlib instead.
      
      sros2 was using 'resource_filename' from pkg_resources.  The
      equivalent in importlib is importlib.resources, but there is a catch.
      As of Python 3.8, importlib.resources does not support getting
      data from subdirectories.  The workaround is to make each
      level of the directory structure a python module, so that the
      module name can be looked up.  Python 3.9 will have support for
      directories for resources, but that won't help on Ubuntu Focal.
      More information is in https://gitlab.com/python-devs/importlib_resources/issues/58
      
      
      
      Signed-off-by: default avatarChris Lalancette <clalancette@openrobotics.org>
  16. Jun 21, 2020
  17. Jun 19, 2020
  18. Jun 05, 2020
  19. Jun 04, 2020
  20. Jun 01, 2020
  21. May 15, 2020
  22. May 11, 2020
  23. May 07, 2020
  24. May 06, 2020
  25. May 04, 2020
  26. May 01, 2020
  27. Apr 30, 2020
  28. Apr 16, 2020
Loading