Skip to content
Snippets Groups Projects
  1. Nov 03, 2020
  2. Oct 17, 2020
  3. Aug 12, 2020
  4. Jul 30, 2020
  5. Jul 07, 2020
  6. 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>
  7. Jun 21, 2020
  8. Jun 19, 2020
  9. Jun 05, 2020
  10. Jun 04, 2020
  11. Jun 01, 2020
  12. May 15, 2020
  13. May 11, 2020
  14. May 07, 2020
  15. May 06, 2020
  16. May 04, 2020
  17. May 01, 2020
  18. Apr 30, 2020
  19. Apr 16, 2020
  20. Apr 13, 2020
  21. Apr 10, 2020
  22. Apr 09, 2020
  23. Apr 08, 2020
  24. Apr 07, 2020
Loading