asam-ev / qc-openscenarioxml

6 stars 3 forks source link

Use resource to access schema files #51

Closed hoangtungdinh closed 1 month ago

hoangtungdinh commented 1 month ago

Description

Before, schema files were accessed using relative paths. It doesn't work when we distribute the package via pip.

Now, schema files were accessed as package resources.

Main changes

  1. Use package resource to access schema files.

How was the PR tested?

  1. Unit-test and tested via a local demo pipeline build and run.

Notes