Closed henryiii closed 3 years ago
PS: Hoping to apply this to #8 after it's ready and merged.
Comments for later PRs (not for now):
python setup.py test
. It's been deprecated for years.@jcfr or @thewtex (when you get out of the mountains :) ) , can I get a second set of eyes?
I'm not sure what the other two non-hello projects are supposed to do, so I just replicated the existing testing exactly there (sdist/wheel for pen2-cython, nothing for tower-of-babel).
I think these help demonstrate generating a command line executable based on cython and a non-trivial package that is cython + python. We may want to re-name them to identify them as such.
Swapping the custom code for testing to nox. We could easily parametrize later, such as over Python versions.
Adding the missing
pyproject.toml
's to the rest of the projects. There seems to be some misbehaving with caching on scikit-build's part, hopefully won't affect CI, just reruns locally.That's why I don't build wheels yet, as it forces the cache rebuild failure due to building twice immediately (and ideally, you would just install from the wheel instead of rebuilding again).Patched the caching issues, though a proper fix should come from scikit-build eventually.Currently cpp/cython fail, I think because they are not src based, so Python loads the localhello
folder instead of the built one (I think). Edit: Yes, this is why. Moved the test file and worked around it for now.Fixed a bunch of bugs in the tests, like missing
\n
's and an extra)
.Closes #2.