Transport-for-the-North / caf.core

Core classes and definitions for CAF family of tools
GNU General Public License v3.0
0 stars 1 forks source link

YAML files not included in pip-install of rewrite_exclusions branch #34

Closed asongtoruin closed 2 months ago

asongtoruin commented 2 months ago

Mainly fyi @isaac-tfn - I believe the current setup if you do e.g.

pip install git+https://github.com/Transport-for-the-North/caf.core@rewrite_exclusions

does not include the .yml files that now define the exclusions. I think you could do this via tool.setuptools.package-data in pyproject.toml, though I'm not totally sure.

isaac-tfn commented 2 months ago

Thanks for raising, for now it does work if you clone the repo and install with a path to the package on your machine rather than a link to the remote repo, but I'll try and fix it properly when I get a chance

asongtoruin commented 2 months ago

I've re-tried the same approach with the corrected code and it works now! Thanks Isaac, will close the issue.