Skip to content

setup.py, README: Generate proper Project Description for PyPi #802

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

Merged
merged 3 commits into from
Feb 26, 2022

Conversation

ix5
Copy link
Member

@ix5 ix5 commented Feb 23, 2022

setup.py: Include README in pypi upload

This allows for more information by embedding the README at https://pypi.org/project/isso/ as a "Project Description".

README: Point LICENSE to current GH master, shuffle sections a bit

Reasoning: Use absolute link to allow embedding the rendered README on pypi (where the relative-path LICENSE is not available).

@ix5 ix5 added server (Python) server code docs Documentation of the project labels Feb 23, 2022
@ix5 ix5 added this to the 0.12.6 milestone Feb 23, 2022
Copy link
Member

@jelmer jelmer left a comment

Choose a reason for hiding this comment

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

See below.

@jelmer
Copy link
Member

jelmer commented Feb 23, 2022 via email

ix5 added 3 commits February 23, 2022 23:15
This allows for more information by embedding the README at
https://pypi.org/project/isso/ as a "Project Description".
The LICENSE link is a repo-relative one that will 404 if
rendered on PyPi. Filter it out since PyPi already has
license info in its sidebar.

Yes, this is a very brittle solution, but maintainers should
not have to upload too often.
@ix5 ix5 force-pushed the feature/setup-long_desc branch from 7ed8868 to 09f930c Compare February 23, 2022 22:28
@ix5
Copy link
Member Author

ix5 commented Feb 23, 2022

ideally we'd just filter out the entire license section

Done.

Personally, I think this is the ugliest code I've ever committed, but I agree with your sentiment. Unless someone comes up with a better/cleaner/more beautiful solution, I'm merging this within 2 days.

@ix5 ix5 merged commit ae6dc84 into isso-comments:master Feb 26, 2022
@ix5 ix5 deleted the feature/setup-long_desc branch February 26, 2022 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation of the project server (Python) server code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants