google / gcp_scanner

A comprehensive scanner for Google Cloud
Apache License 2.0
305 stars 95 forks source link

Using tool.hatch in pyproject file after changing build system setuptools #186

Closed yahia3200 closed 1 year ago

yahia3200 commented 1 year ago

Affected Component

This is related to the exclude section in the pyproject.tom file The result is that both test_uint.py and test_acceptance.py are present in the Python package and also we can't include any other files in the final package (like HTML files for the vis tool)

What I Tried

I tried to replace this section with its equivalent in setuptools which is [tool.setuptools.packages.find] but I couldn't make it work I think my issue is related to this discussion https://github.com/pypa/setuptools/discussions/3346