Skip to content
Snippets Groups Projects

python-unshare

This is a pure-Python module with no external dependencies for accessing libc functions and macros needed for dealing with Linux namespaces.

Development

Development has the following dependencies: - Tox (install from PyPI by running (pip install tox). - libc headers, make and GCC (On Debian/Ubuntu install by running apt install linux-libc-dev build-essential).

Testing is done by running tox. Auto-generated code (for now just unshare/constants.py) is generated by running make all. For Mac developers there's a Vagrant box defined (it optionally uses vagrant-gatling-rsync). Finally, releasing a version is done by running tox -e release.

TODO

  • License.
  • Changelog.
  • Documentation.
  • Replace the GCC preprocessor for generating unshare/constants.py with a Python one (CPIP or pycparser).