[ckan-changes] [ckan/ckan] d2c1b8: Fix encoding of setup.py for non-ascii names

GitHub noreply at github.com
Fri Sep 11 17:53:54 UTC 2015


  Branch: refs/heads/2636-fix-encoding-create-ext
  Home:   https://github.com/ckan/ckan
  Commit: d2c1b8429c56b5c4c68891330803cbab6c1bbad5
      https://github.com/ckan/ckan/commit/d2c1b8429c56b5c4c68891330803cbab6c1bbad5
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-09-11 (Fri, 11 Sep 2015)

  Changed paths:
    M ckan/pastertemplates/__init__.py
    M ckan/pastertemplates/template/setup.py_tmpl

  Log Message:
  -----------
  Fix encoding of setup.py for non-ascii names

Sets the default-encoding so that what the user enters is utf8 and
this stops the paster templates for exploding.  Also sets the encoding
on the setup.py template so that it can be run if it has utf8 chars in it

This should fix #2636




More information about the ckan-changes mailing list