8000 support recipe execution by python3 · fatcloud/python-for-android@2a8f56f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2a8f56f

Browse files
authored
support recipe execution by python3
1 parent 8829312 commit 2a8f56f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonforandroid/recipes/pyzmq/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
2+
from __future__ import unicode_literals
33
from pythonforandroid.recipe import CythonRecipe, Recipe
44
from os.path import join
55
from pythonforandroid.util import current_directory
@@ -43,7 +43,7 @@ def build_cython_components(self, arch):
4343
[global]
4444
zmq_prefix = {}
4545
skip_check_zmq = True
46-
""".format(libzmq_prefix))
46+
""".format(libzmq_prefix).encode())
4747

4848
return super(PyZMQRecipe, self).build_cython_components(arch)
4949

0 commit comments

Comments
 (0)
0