HomePhabricator

py3: write out hgextindex as bytes in setup.py

Authored by mharbison72.

Description

py3: write out hgextindex as bytes in setup.py

I hit this trying to build the py2exe target using python3, just to see what
would happen. After commenting out py2exe.Distribution in setup.py and
pointing to a local copy of py2exe that supports python3[1], it complained that
out was bytes, not str.

[1] https://github.com/albertosottile/py2exe/releases/tag/v0.9.3.0

Details

Committed
mharbison72Apr 5 2019, 6:36 PM
Parents
rHGa975821d0938: setup: fix a possible NameError on rust build
Branches
Unknown
Tags
Unknown