Closed jorgecis closed 4 months ago
Thanks for your report! Your patch seems to fail on Python 3, as it calls encode on a unicode string.
I'd like to narrow down the error. Can you please test if you can run python setup.py sdist
or python setup.py bdist_wheel
(with the wheel
package installed) on the unmodified code?
I recently had a need to package this as an RPM for python 2.7, and ran into this issue. The fix posted here was also how I worked around the issue. My command line was:
python2 setup.py bdist_rpm
The two commands in the previous response here were both successful. Apologies for necromancing a 2 year old pull request, but hopefully this is helpful.
Thanks.
Closing as Python 2.7 is no longer supported.
Running python setup.py bdist_rpm in pythn2.7, I didnt test any other python versions.