Skip to content

python3 "from __future__ imports" #6

@looooo

Description

@looooo

thanks for porting to python3!!!
just tried to build and got this error:
'from future imports must occur at the beginning of the file'

maybe this can solve it: (http://www.swig.org/Doc3.0/Python.html)

%pythonbegin %{
from future import print_function
%}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions