You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An idiom seen in some setup.py files in the wild is to set the long description to open('README.something').read() or something equivalent. Once README gets Unicode characters the installation of the package can fail in deployment because the default encoding for open is wrong. (I think this is a Python 3 default encoding difference when LANG is unset.)
Unsetting LANG around pip install can find this problem earlier. This could/should be in Makefile's setup and update targets.
The text was updated successfully, but these errors were encountered:
I know I've seen this failure at times too, but I'm wondering under what circumstances LANG wouldn't be set. Maybe on a minimal server-type Ubuntu installation vs. our usual full desktop installation?
An idiom seen in some
setup.py
files in the wild is to set the long description toopen('README.something').read()
or something equivalent. OnceREADME
gets Unicode characters the installation of the package can fail in deployment because the default encoding for open is wrong. (I think this is a Python 3 default encoding difference whenLANG
is unset.)Unsetting
LANG
aroundpip install
can find this problem earlier. This could/should be inMakefile
'ssetup
andupdate
targets.The text was updated successfully, but these errors were encountered: