Skip to content
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

Move package metadata into pyproject.toml and all other python code into separate file #4970

Open
wants to merge 30 commits into
base: master
Choose a base branch
from

Conversation

marthacryan
Copy link
Collaborator

@marthacryan marthacryan commented Jan 14, 2025

Fixes #4811. Custom commands are deprecated for setup.py files, so this PR moves those out of the setup.py. Using pyproject.toml is "strongly recommended" as well, so this PR also includes moving package metadata into that file.

Also, removes the conda recipe because this broke when we updated to pyproject.toml and through discussing it we decided to stop posting a conda recipe. See #5011

@marthacryan marthacryan marked this pull request as draft January 14, 2025 23:01
@gvwilson gvwilson added feature something new P2 considered for next cycle labels Jan 15, 2025
@marthacryan marthacryan marked this pull request as ready for review January 30, 2025 21:39
.circleci/config.yml Outdated Show resolved Hide resolved
version = "6.0.0"
dynamic = ["dependencies"]

# TODO: check that this works
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check this~!!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the tar file to see what's included

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

release.md Show resolved Hide resolved
@emilykl
Copy link
Contributor

emilykl commented Feb 4, 2025

@marthacryan You should be able to move the pytest.ini inside pyproject.toml as well (if we even still need it in the first place...?)

https://docs.pytest.org/en/stable/reference/customize.html

@@ -1,7 +1,6 @@
include LICENSE.txt
include README.md
include versioneer.py
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marthacryan 🔪 versioneer.py !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P2 considered for next cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

simplify the over-complicated logic in setup.py
3 participants