Show More
@@ -661,7 +661,14 b" for root in ('templates',):" | |||||
661 | packagedata['mercurial'].append(f) |
|
661 | packagedata['mercurial'].append(f) | |
662 |
|
662 | |||
663 | datafiles = [] |
|
663 | datafiles = [] | |
664 | setupversion = version |
|
664 | ||
|
665 | # distutils expects version to be str/unicode. Converting it to | |||
|
666 | # unicode on Python 2 still works because it won't contain any | |||
|
667 | # non-ascii bytes and will be implicitly converted back to bytes | |||
|
668 | # when operated on. | |||
|
669 | assert isinstance(version, bytes) | |||
|
670 | setupversion = version.decode('ascii') | |||
|
671 | ||||
665 | extra = {} |
|
672 | extra = {} | |
666 |
|
673 | |||
667 | if py2exeloaded: |
|
674 | if py2exeloaded: |
General Comments 0
You need to be logged in to leave comments.
Login now