From 778a38a668a740bac9cf22121f5639a503ff5b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 2 Mar 2015 13:15:00 +0100 Subject: [PATCH] Added [develop] extra to setup.py to install development dependencies Use pip install -e .[develop] to prime your environment for development, this will install all requirements both for running as well as for development tasks (such as running unit tests or compiling the documentation) and register OctoPrint as an editable python package as well. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 17549a0e..6a875439 100644 --- a/setup.py +++ b/setup.py @@ -288,6 +288,9 @@ def params(): include_package_data = True zip_safe = False install_requires = open("requirements.txt").read().split("\n") + extras_require = dict( + develop=open("requirements-dev.txt").read().split("\n") + ) entry_points = { "console_scripts": [