frictionlessdata / datapackage-py

A Python library for working with Data Packages.
https://frictionlessdata.io
MIT License
189 stars 44 forks source link

Use datapackage's base path when loading custom profiles #195

Closed vitorbaptista closed 4 years ago

vitorbaptista commented 6 years ago

For example, consider the datapackage:

{
    "name": "test",
    "title": "Test",
    "profile": "my-data-profile.json"
}

The my-data-profile.json should be loaded relative to the datapackage.json path, otherwise we would need to use the absolute path, which isn't portable.

roll commented 6 years ago

If it doesn't use the data package directory for now - it's a bug.