-
Notifications
You must be signed in to change notification settings - Fork 4
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
PyPI release needed #4
Comments
I gave you privileges. Thank you! |
I just released https://pypi.org/project/zc.relation/1.1/. But something went wrong with the |
That is a very peculiar long_description. How did you do the upload? |
@mgedmin I used |
I think this is an unfortunate interaction stemming from when .txt files were renamed to .rst. It all goes back to this line from setup.py: setup(
...
description=text("README.rst"),
...
) The # simplified
def text(*args, **kwargs):
# note: distutils explicitly disallows unicode for setup values :-/
# http://docs.python.org/dist/meta-data.html
tmp = []
for a in args:
if a.endswith('.rst'):
f = open(os.path.join(*a.split('/')))
tmp.append(f.read())
f.close()
tmp.append('\n\n')
else:
...
if len(tmp) == 1: # NEVER TRUE for .rst files, see above!
res = tmp[0]
else:
res = ''.join(tmp)
return res So the description ends up being Which translates to
I know that wheel used the |
@jamadden Thank you for your deep analysis. I fixed the PyPI page although I needed two releases to achieve this. I should have read your analysis more care fully. Sorry. |
Oh wow! This is also a setuptools bug IMHO: it should reject newlines in the |
Filed pypa/setuptools#1390 |
After Python 3 support was added to this package a new release to PyPI is needed.
Could someone please cut a release or give me (
icemac
) the needed rights on PyPI?The text was updated successfully, but these errors were encountered: