# vim:syntax=apparmor
# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2006 Novell/SUSE
#    Copyright (C) 2009-2010 Canonical Ltd.
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------

  # Phusion
	/etc/python[0-9]*/** r,

  /tmp/ rw,
  /tmp/passenger.[.0-9]*/ rw,
  /tmp/passenger.[.0-9]*/** rw,

  /usr/lib/python[12].[0-9]/**.{py,pyc,pth,so} mr,
  /usr/lib/python[12].[0-9]/site-packages r,
  /usr/lib64/python[12].[0-9]/**.{py,pyc,pth,so} mr,
  /usr/lib64/python[12].[0-9]/site-packages r,
  /usr/local/lib/python[0-9]*/** r,

