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

make readme readable on pypi #24

Closed
wants to merge 3 commits into from
Closed

make readme readable on pypi #24

wants to merge 3 commits into from

Conversation

Mattwmaster58
Copy link

No description provided.

Copy link
Collaborator

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I'd be ok with this but note that to release you need recents version of tools that understand this metadata.

setup.py Outdated
@@ -19,6 +15,7 @@
packages=['bumpversion'],
description=description,
long_description=long_description,
long_description_content_type="text/markdown"
Copy link
Collaborator

Choose a reason for hiding this comment

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

You're missing a comma at the end here.

Copy link
Author

Choose a reason for hiding this comment

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

snap, your right

r"\1",
str(open('README.md', 'rb').read()).replace(description, '')
)
with open('README.md', 'UTF-8') as readme:
Copy link
Collaborator

Choose a reason for hiding this comment

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

This breaks on Python 3 with ValueError: invalid mode: 'UTF-8', see the Travis run.

@florisla
Copy link
Collaborator

I think this can be closed now that #26 is merged.

@c4urself c4urself closed this Aug 28, 2018
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.

None yet

4 participants