asam-ev / qc-openscenarioxml

Mozilla Public License 2.0
7 stars 3 forks source link

Use resource to access schema files #51

Closed hoangtungdinh closed 3 months ago

hoangtungdinh commented 3 months 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