-
Notifications
You must be signed in to change notification settings - Fork 517
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
Feature/unify readme #186
base: main
Are you sure you want to change the base?
Feature/unify readme #186
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've posted a few advices for you on how to improve things + fix CI.
Please also take into account this suggestion #171 (comment)
hi, i just made the edit as you suggested i left the original installation instruction, to let user know the different way to install it e: just let me know if it should be deleted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
d526056
to
446c480
Compare
@ingydotnet this PR is ready, please merge it before next release as it will dramatically improve how PYPI page looks. |
@webknjaz will do for the 4.2 release. Cheers. |
@ingydotnet bump |
FYI that as of pip 20.x, I'm not sure why, but suspect it has to do with some outdated stuff in |
https://pip.pypa.io/en/stable/news/#id50 pypa/pip#7309 e: done. i kept the install-option doc for pip < 20.0 e2: wrong guess |
e93e0d9
to
57be2a0
Compare
Summary of documentation-related issues that can probably be addressed at once: |
Yeah, that's one of the reasons I've not tried to attack a full setuptools cutover or any more ambitious refactoring of the packaging/install stuff- we either need to kill all the ancient custom arg stuff and lean more fully on the standard knobs provided by modern packaging infra for extension build control, or figure out sane ways to do it on setuptools. Relevant: https://twitter.com/codewithanthony/status/1265697485780955137?s=19 ;) |
I don't blame you, especially since PEP 517 is still provisional. I assume you're alluding to the |
Yeah, I'm actually reasonably confident that absent any legacy concerns, we could have a nice clean modern setup experience, but that screws everyone eg, running older stock Ubuntu LTS releases with old bundled I feel like this project has a large accumulation of tech debt- most of the code and layout is ancient and creaky, but still works quite well for what it does. My interest and involvement in it is purely selfish and mostly defensive ("don't break Ansible"), so I have a hard time getting excited about big projects or sweeping changes that will destabilize it for myself and others, especially if the time taken to fix/restabilize those things detracts from my primary project... |
- use `python -m pip` - use global-option only
based on yaml#223
i just tested with pip 19.0 and the same error happened, so it mean my guess that it is caused by pip 20.0 is wrong i will remove
i just noticed about #327. if pyyaml dev want to use markdown than rst, i will remove rst related pr on this and contribute to 327. |
2554464
to
695e1b4
Compare
this will remove the README.rst and move the content to README.md this include - badge - recommended installation method - recommended way for alternative method - fix link to document on above point - code markup it also point to README.md for LONG_DESCRIPTION Signed-off-by: Rachmadani Haryono <foreturiga@gmail.com>
695e1b4
to
9e446ae
Compare
based on https://packaging.python.org/guides/making-a-pypi-friendly-readme/#including-your-readme-in-your-package-s-metadata Signed-off-by: Rachmadani Haryono <foreturiga@gmail.com>
at the end i use markdown and move all the change from readme.rst to main readme.md the change is simpler than before reference on setup.py change https://packaging.python.org/guides/making-a-pypi-friendly-readme/#including-your-readme-in-your-package-s-metadata on that page the example use pathlib but i still use codecs as suggested above i also notice this
if required i will close the pr and create a new one |
fix #171