PyMISP icon indicating copy to clipboard operation
PyMISP copied to clipboard

Repair include

Open qha opened this issue 1 year ago • 2 comments

Include docs, examples and tests in sdist

Merging this would probably mean that i can use the tar.gz from pypi directly and still get tests without rolling my own.

qha avatar Jun 28 '24 14:06 qha

Just making sure before I merge it: did you test it and it works for you?

Rafiot avatar Jun 28 '24 16:06 Rafiot

I added { path = "tests", format = "sdist" } and ran python3 -m build --sdist . and it had the effect i expected on the produced tarball, i didn't test building a wheel from it though.

qha avatar Jun 28 '24 16:06 qha

I've now completed my entire packaging including running pytest tests/test_mispevent.py after adjusting the include statement.

qha avatar Jul 03 '24 14:07 qha