[Xapian-tickets] [Xapian] #836: export PYTHONOPTIMIZE=2 breaks make install

Xapian nobody at xapian.org
Thu Dec 5 02:36:29 GMT 2024


#836: export PYTHONOPTIMIZE=2 breaks make install
--------------------------------------+------------------------------------
 Reporter:  Дилян Палаузов            |             Owner:  Richard Boulton
     Type:  defect                    |            Status:  closed
 Priority:  normal                    |         Milestone:  1.4.27
Component:  Xapian-bindings (Python)  |           Version:  1.4.26
 Severity:  normal                    |        Resolution:  fixed
 Keywords:                            |        Blocked By:
 Blocking:                            |  Operating System:  All
--------------------------------------+------------------------------------
Changes (by Olly Betts):

 * status:  new => closed
 * resolution:   => fixed

Comment:

 >> The simplest fix is probably for us to override PYTHONOPTIMIZE for that
 command.

 Implemented by 45308d983bbe8ed232f9f965a7a8d4b8b7ee69f4 for master and
 backported for 1.4.27 by c2d0be20b5d260a71527d4819f967ca696d9941e.

 > I want to install __pycache__/__init__.cpython-310.opt-2.pyc and not to
 create or install __pycache__/__init__.cpython-310.pyc.

 That looks hard to achieve - I think you'll just have to delete the latter
 after installing if you really don't want it.
-- 
Ticket URL: <https://trac.xapian.org/ticket/836#comment:3>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list