• Ken Dreyer's avatar
    bin: drop umlaut again for setuptools · ba32efc1
    Ken Dreyer authored
    setuptools cannot handle non-ascii characters in files declared in
    "scripts".
    
    $ python setup.py develop
    
      [snip]
    
      File "setuptools/command/easy_install.py", line 726, in process_distribution
        self.install_egg_scripts(dist)
      File "setuptools/command/develop.py", line 188, in install_egg_scripts
        self.install_script(dist, script_name, script_text, script_path)
      File "setuptools/command/easy_install.py", line 805, in install_script
        self.write_script(script_name, _to_ascii(script_text), 'b')
      File "setuptools/command/easy_install.py", line 108, in _to_ascii
        return s.encode('ascii')
    UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 785: ordinal not in range(128)
    
    Commit 4424008f fixed this, and
    23874c2c added the umlaut back in. Take
    it out again so "setup.py develop" and "setup.py install" succeeds
    again.
    
    See https://github.com/pypa/setuptools/issues/761Signed-off-by: Guido Günther's avatarGuido Günther <agx@sigxcpu.org>
    ba32efc1
gbp-builder-mock 2.37 KB