Skip to content

more modernization on packaging#24

Merged
lidaobing merged 4 commits into
masterfrom
bf_pyproject
Jul 7, 2026
Merged

more modernization on packaging#24
lidaobing merged 4 commits into
masterfrom
bf_pyproject

Conversation

@lidaobing

Copy link
Copy Markdown
Owner

No description provided.

@lidaobing lidaobing requested a review from Copilot July 7, 2026 05:08
@lidaobing lidaobing changed the title Bf pyproject more modernization on packaging Jul 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the project’s packaging setup by adding a minimal pyproject.toml for PEP 517 builds and adjusting setup.py to avoid importing the module at build time while improving the long description source.

Changes:

  • Add pyproject.toml with a setuptools build backend.
  • Update setup.py to extract version via regex from lunardate.py and use README.md as the long description.
  • Remove committed lunardate.egg-info/* artifacts and update .gitignore to ignore the entire egg-info directory.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
setup.py Avoids importing lunardate during build; reads version from source file; switches long description to README.
pyproject.toml Introduces PEP 517 build-system configuration for setuptools.
lunardate.egg-info/top_level.txt Removes generated/committed packaging artifact.
lunardate.egg-info/SOURCES.txt Removes generated/committed packaging artifact.
lunardate.egg-info/dependency_links.txt Removes generated/committed packaging artifact.
.gitignore Ignores the whole lunardate.egg-info directory going forward.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread setup.py
Comment thread setup.py
Comment thread pyproject.toml
@lidaobing lidaobing merged commit c37bf77 into master Jul 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants