[Xapian-tickets] [Xapian] #689: python 3.5: .pyo files were renamed to .opt-1.pyc

Xapian nobody at xapian.org
Sun Oct 4 20:13:31 BST 2015


#689: python 3.5: .pyo files were renamed to .opt-1.pyc
---------------------------------------------+-----------------------------
        Reporter:  ususdei                   |      Owner:  richard
            Type:  defect                    |     Status:  new
        Priority:  normal                    |  Milestone:  1.4.x
       Component:  Xapian-bindings (Python)  |    Version:  1.3.2
        Severity:  normal                    |   Keywords:  python bindings
      Blocked By:                            |   Blocking:
Operating System:  All                       |
---------------------------------------------+-----------------------------
 File: xapian-bindings/python3/Makefile.am

 The install instructions there explicitly reference a ".pyo" file.
 But those files are now eliminated in python 3.5.
 Instead they now end with ".opt-1.pyc" or ".opt-2.pyc".

 See: https://www.python.org/dev/peps/pep-0488/

 I'm not entirely sure how to fix that properly.
 Maybe introduce and populate a new variable @PYTHON3_OPT_EXTENSION@ ?

--
Ticket URL: <http://trac.xapian.org/ticket/689>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list