Skip to content

pypi description load from README#1057

Open
kenya-sk wants to merge 4 commits intotensorflow:masterfrom
kenya-sk:pypi-description
Open

pypi description load from README#1057
kenya-sk wants to merge 4 commits intotensorflow:masterfrom
kenya-sk:pypi-description

Conversation

@kenya-sk
Copy link
Copy Markdown
Contributor

@kenya-sk kenya-sk commented Apr 27, 2026

Use the project README.md as the PyPI long description instead of the hardcoded module docstring in release/setup.py (Issue #1055 ).

Keep image paths in README.md relative for repository portability, and rewrite them to absolute GitHub raw URLs only when generating the PyPI long description so they continue to render correctly on PyPI.

@kenya-sk kenya-sk changed the title add: pypi description load from README pypi description load from README Apr 27, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates image URLs in README.md to absolute paths and modifies release/setup.py to dynamically load the long description from the README file. Feedback suggests refactoring setup.py to eliminate duplicated path resolution logic and recommends dynamically transforming relative image paths during the build process to maintain repository portability.

Comment thread release/setup.py
Comment thread README.md Outdated
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.

1 participant