Skip to content

Commit

Permalink
Added docs for gotchas when developing on gentoo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansname committed Jul 15, 2015
1 parent 7106494 commit 91acf73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HACKING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ M2Crypto installed using apt::

virtualenv --system-site-packages /path/to/your/virtualenv

On Gentoo systems you should use ``--system-site-packages`` when creating
the virtualenv to enable pkg and portage_config functionality as the
portage package is not available via pip

.. note:: Using your system Python modules in the virtualenv

If you have the required python modules installed on your system already
Expand Down
4 changes: 4 additions & 0 deletions doc/topics/development/hacking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ Create a new `virtualenv`_:
.. _`virtualenv`: https://pypi.python.org/pypi/virtualenv

Avoid making your :ref:`virtualenv path too long <too_long_socket_path>`.

On Arch Linux, where Python 3 is the default installation of Python, use
the ``virtualenv2`` command instead of ``virtualenv``.

On Gentoo you must use ``--system-site-packages`` to enable pkg and portage_config
functionality

.. note:: Using system Python modules in the virtualenv

To use already-installed python modules in virtualenv (instead of having pip
Expand Down

0 comments on commit 91acf73

Please sign in to comment.