-
-
Notifications
You must be signed in to change notification settings - Fork 59
clean up project root #370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clean up project root #370
Conversation
Can we re-aliven this effort? |
I think most of my cuts still stand |
Mostly im curious if @maresb or @ricardoV94 know the answers to the questions posed |
Hey, I'm not particularly involved here, but your changes look great to me! Thanks a lot for the work, and I'm glad to see this effort revived. Here is my pass at these bullet points:
|
Agree with @maresb. Regarding gitpod some enthusiastic person who liked it added it, it's one of those things that different people will disagree and may flip-flop as some remove then readd. I would cautiously remove it, and if the interested people come back to want it reintroduce and make it a policy to keep it |
We used to use versioneer and stopped? I really like it -- it's a hassle to have to do a PR to bump the version before releasing. What was the issue? |
Not sure, but anyways, I prefer hatch-vcs which is a not-horribly-bloated equivalent of versioneer. But one thing at a time. This is PR is already a big step forward. We can do a follow-up with this. |
…oject, including the versioning using __version__ attribute
ef310bd
to
fb98b48
Compare
1d8e8c6
to
e7c41fc
Compare
I rebased this and made some additional deletions based on @maresb 's comments. There's a circular import error happening I guess because of the version stuff, not sure what's going on there yet -- would appreciate help trying to figure that out. |
I think |
My understand was that you still need it, but it can just be a one-liner, literally just: from setuptools import setup
if __name__ == "__main__":
setup() I think we might be able to delete |
Probably best to rip off the bandage and go straight for hatch / hatch-vcs. Here's a reasonably-recent example I did: https://github.com/dgilford/tcpyPI/blob/master/pyproject.toml |
And ya, that means get rid of The tricky thing is you need to test |
81f0048
to
cb0a0c8
Compare
Co-authored-by: Ben Mares <[email protected]>
@maresb what's the right way to get a |
f7374fa
to
c146880
Compare
You only need the |
from importlib.metadata import version
__version__ = version("pymc-extras") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just gave this a thorough check, looking at both the sdist and wheel, and it looks solid to me. Thanks everyone!
buildosx won't work not because setup.py is gone. Can we get rid of that too? Also we could use hatch scripts for the testing e.g. https://github.com/JaxGaussianProcesses/GPJax/blob/main/pyproject.toml#L93-L112 |
Still more to go here. Questions:
.gitpod.yml
file? What is it doing?readthedocs.yaml
todocs/
?.gitattributes
file doing? It won't work currently and do we still need itbuildosx
file?codecov.yml
file used?conftest.py
be moved totests/
? Is it used?CONTRIBUTING.md
andCODE_OF_CONDUCT.md
be moved anywhere likedocs/
or.github
?cc: @jessegrabowski @maresb