https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242463

Charlie Li <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #38 from Charlie Li <[email protected]> ---
(In reply to Kurt Jaeger from comment #25)
.pyc and .pyo only work for Python 2. In order to package properly for Python
3, conditionals are needed:

%%PYTHON2%%%%PYTHON_SITELIBDIR%%/mercurial/__modulepolicy__.pyc
%%PYTHON2%%%%PYTHON_SITELIBDIR%%/mercurial/__modulepolicy__.pyo
%%PYTHON3%%%%PYTHON_SITELIBDIR%%/mercurial/__pycache__/__modulepolicy__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON3%%%%PYTHON_SITELIBDIR%%/mercurial/__pycache__/__modulepolicy__.cpython-%%PYTHON_SUFFIX%%.pyc

Kind of annoying since distutils/autoplist doesn't pick up __modulepolicy__.py
since it is auto-generated.

Also, hgweb.cgi needs the shebangfix treatment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[email protected]"

Reply via email to