diff options
-rw-r--r-- | README.rst | 9 | ||||
-rw-r--r-- | setup.py | 6 | ||||
-rw-r--r-- | tox.ini | 22 |
3 files changed, 26 insertions, 11 deletions
@@ -1,6 +1,6 @@ bitmask-dev =========== -Your internet encryption toolkit. +**Your internet encryption toolkit** Develop ------- @@ -9,7 +9,9 @@ If you want to develop for the encrypted mail service, execute inside your virtu make dev-mail -If you want to develop for the gui client:: +If you want to develop for the gui client too, you have to have installed the +python2 bindings for Qt5 in your system (in debian is python-pyqt5). After +ensuring this, you can do:: make dev-all @@ -21,4 +23,7 @@ Tests need tox:: pip install tox tox +If you are developing against a non-published branch of leap.common or +leap.soledad, run instead:: + tox -e py27-dev @@ -12,7 +12,7 @@ import versioneer # Note that here we can specify ranges. required = [ - 'twisted', # 14.0.0 + 'twisted>=14.0.0', 'zope.interface', 'service-identity', 'colorama', @@ -26,10 +26,10 @@ extras = { 'gnupg', ], 'gui': [ - 'PyQt', + 'vext.pyqt5', ], 'all': [ - 'PyQt', + 'vext.pyqt5', 'leap.soledad.client', 'gnupg', ] @@ -14,13 +14,23 @@ deps = pytest-cov setuptools-trial gnupg - leap.soledad.common - - # move this to another env! - #leap.soledad.client - -e../soledad/client + leap.soledad.client -e. setenv = HOME=/tmp - +[testenv:py27-dev] +# This environment assumes developer has checked out +# leap_common and soledad repos in the parent folder. +deps = + mock + pep8 + pytest + pytest-pep8 + pytest-cov + setuptools-trial + gnupg + -e../leap_common + -e../soledad/common + -e../soledad/client + -e. |