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

Draft
wants to merge 8 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.

@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
update_schema_bundle_from_master()
run_codegen()

if "updateplotlyjsdev" in sys.argv:
Copy link
Contributor

@emilykl emilykl Jan 15, 2025

Choose a reason for hiding this comment

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

@marthacryan I would wrap this inside a if __name__ == "__main__":

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