Skip to content
README.rst 1.01 KiB
Newer Older
nimrod's avatar
nimrod committed
python-unshare
##############

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

Development
-----------

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

Testing is done by running :code:`tox`. Auto-generated code (for now just
:code:`unshare/constants.py`) is generated by running :code:`make all`. For Mac
developers there's a Vagrant box defined (it optionally uses
`vagrant-gatling-rsync <https://github.com/smerrill/vagrant-gatling-rsync>`_).
Finally, releasing a version is done by running :code:`tox -e release`.
nimrod's avatar
nimrod committed

TODO
----

- License.
- Changelog.
- Documentation.
nimrod's avatar
nimrod committed
- Replace the GCC preprocessor for generating :code:`unshare/constants.py`
  with a Python one (`CPIP <http://cpip.sourceforge.net/>`_ or `pycparser
  <https://github.com/eliben/pycparser>`_).