[apparmor] [Merge] lp:~dmitrij.ledkov/apparmor/py3 into lp:apparmor

Dmitrijs Ledkovs launchpad at surgut.co.uk
Mon Jun 11 17:04:28 UTC 2012


Dmitrijs Ledkovs has proposed merging lp:~dmitrij.ledkov/apparmor/py3 into lp:apparmor.

Requested reviews:
  Canonical Foundations Team (canonical-foundations)
  AppArmor Developers (apparmor-dev)

For more details, see:
https://code.launchpad.net/~dmitrij.ledkov/apparmor/py3/+merge/109682

Initial port to python3 for utilities.

Python2 compatibility is not broken, all code should be 'bilingual'.

Adds helpers in the Make.rules to detect python2 and/or python3.

Runs test and check targets with both pythons, if available.

Python3 is entirely optional with these changes, but the test/check targets will fail if python3 incompatible code is introduced and python3 is available during build. If you do not want the build to fail export PYTHON_VERSIONS=python2 before running check/test targets.

Currently the install defaults to python2, with fallback to python3

This does not have anything to do with swig python binding.
-- 
https://code.launchpad.net/~dmitrij.ledkov/apparmor/py3/+merge/109682
Your team AppArmor Developers is requested to review the proposed merge of lp:~dmitrij.ledkov/apparmor/py3 into lp:apparmor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 7671 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120611/de7d8557/attachment-0001.diff>


More information about the AppArmor mailing list