-
Notifications
You must be signed in to change notification settings - Fork 134
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
Obtain package description from README.md
(Markdown)
#127
Comments
There's actually a hidden feature in flit: if you have pypandoc & pandoc installed, and you specify a file with a The reasons it's hidden for now are that I don't really want to support installing pandoc, and I don't know if the rst it produces reliably satisfies PyPI. So it's easier to tell people to write rst. But if you prefer markdown, you can do it that way. |
Thanks for this answer! Totally not what I was expecting! 🙂 I totally understand that you don't want to publically advertise a feature as dependecy-heavy as this one (I wouldn't either, not for this), but may I ask if you intend to keep this feature stable and in it's current form for the forseeable future? Even if don't intend to document it, it would be nice to have your word that this won't just be silently dropped one day. Hopefully Anyway, I just gave the first serious testing to |
Super! 😄 I don't see any reason to get rid of the hidden pandoc feature, and if I ever do, I'll do so with a deprecation cycle unless there's a really good reason that's not practical. It's possible that one day Warehouse (the new PyPI) will directly support markdown descriptions, so we won't need the conversion in flit. It sounds like the current sticking point is how to specify the description format in the metadata. pypi/warehouse#869 |
Actually, I didn't read carefully enough - there is already consensus on the metadata; now it's waiting for tools to support it - crucially, this PR: pypa/readme_renderer#51 |
Thanks for the links! I really didn't expect this was being worked on when I opened this issue yesterday! So the prefered migration path for this feature is for Description-Content-Type to become natively supported by Warehouse & Legacy-PyPI, which will then allow |
Yup, that's right. I think we should be able to make it transparent to the user when that happens, by taking the I think it's fairly low down the list of priorities for Warehouse, so the |
README.rst
README.md
(Markdown)
Ok, thanks for your help and explantions! I think this specific issue was adressed! 👍 (I changed the title so that other people can easily find this if they are looking for something similar.) |
Hi! I've been following for the last couple of months and I like how this project is developing. Big thumbs up! 👍
We're starting to seriously consider migrating our project to
flit
, but there is one caveat: We currently use aREADME.md
(vs anREADME.rst
) and on-the-fly convert this to ReStructuredText when uploading to PyPI, while this solution is sub-optimal in several ways, it does work. Is there any way to do something similar withflit
?May be related to: #98
The text was updated successfully, but these errors were encountered: