-
Notifications
You must be signed in to change notification settings - Fork 306
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
New command twine preview
?
#875
Comments
Thanks for sharing the idea. Can you give more details about the motivation and value of this feature? For example, what problem are you trying to solve? What output are you expecting? HTML? Two quick notes:
|
Still, I find myself asking the same question as @bhrutledge - What's the motivation? Also worth noting that this is an example of https://xyproblem.info/ |
Good point re-motivation: the output on PyPI is sometimes not quite as expected (e.g. because some directives are not supported). |
As @sigmavirus24 suggested, I would solve this problem by publishing to TestPyPI. That doesn't address the feedback loop and additional commits, but it is the source of truth for rendering. I think anything else would be an approximation, and therefore not a complete solution to the problem. Also, it looks like Readme Renderer has a command line interface that does what you're suggesting. |
Also, if you're concerned about version numbers, I would take advantage of pre- and post-releases. |
Closing as the consensus seems to be that we won't accept this |
Twine already renders the long description as part of the
twine check
command. Is there interest to add atwine preview
command that saves the output to disc for inspection prior to pushing to pypi? Happy to submit a PR if yes.Possible interface options:
twine preview
ortwine render
.--output [path]
fortwine check
specifying where to save the rendered output.The text was updated successfully, but these errors were encountered: