Skip to content

Packaging files setup.cfg and setup.py have been removed #1271

Open
@GiuseppeDiGuglielmo

Description

@GiuseppeDiGuglielmo

Summary

The files setup.cfg and setup.py (in the top level directory) have been removed in this commit 9857da1

They were useful when running hls4ml with Catapult. I could have local working copies of the repository and point to them with PYTHONPATH.

Reproduce

git clone --recursive git@github.com:fastmachinelearning/hls4ml.git
cd hls4ml
git checkout 9857da1
PYTHONPATH=$PWD python -c "import hls4ml"

It will fail with importlib.metadata.PackageNotFoundError: No package metadata was found for hls4ml

At the previous commit (1ad1ad9), the setup files are still there and I can run:

PYTHONPATH=$PWD python -c "import hls4ml"

Can we bring them back? Is there an alternative solution so I can keep using PYTHONPATH to point to local hls4ml copies?

Thanks

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions