From edf72d8e490595a3bee23e999c0d45274e127a37 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Thu, 16 Jan 2020 19:50:38 +0100 Subject: [PATCH] Updated env and developer docs --- doc/developer_guide/index.rst | 8 +++++--- setup.py | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/doc/developer_guide/index.rst b/doc/developer_guide/index.rst index 1feb76d908..59f72078a4 100644 --- a/doc/developer_guide/index.rst +++ b/doc/developer_guide/index.rst @@ -72,10 +72,12 @@ Since Panel interfaces with a large range of different libraries the full test suite requires a wide range of dependencies. To make it easier to install and run different parts of the test suite across different platforms Panel uses a library called pyctdev to make things -more consistent and general. +more consistent and general. To start with `cd` into the panel +directory and then set up conda using the following commands: .. code-block:: sh + cd panel conda install -c pyviz "pyctdev>0.5.0" doit ecosystem_setup @@ -84,7 +86,7 @@ set up an environment with: .. code-block:: sh - doit env_create -c pyviz/label/dev -c conda-forge --name=panel_dev --python=3.6 + doit env_create -c pyviz/label/dev -c conda-forge --name=panel_dev --python=3.7 Specify the desired Python version, currently Panel officially supports Python 2.7, 3.5, 3.6 and 3.7. Once the environment has been @@ -99,7 +101,7 @@ suite: .. code-block:: sh - doit develop_install -c pyviz/label/dev -c conda-forge -o tests -o recommended + doit develop_install -c pyviz/label/dev -c conda-forge -c bokeh -o tests -o recommended .. _devguide_python_setup: diff --git a/setup.py b/setup.py index 8a3ea960a5..bc598ae72d 100644 --- a/setup.py +++ b/setup.py @@ -109,7 +109,7 @@ def run(self): 'pytest', 'scipy', 'nbsmoke >=0.2.0', - 'pytest-cov ==2.5.1', + 'pytest-cov', 'codecov', # For examples 'hvplot', @@ -117,10 +117,11 @@ def run(self): 'altair', 'streamz', 'vega_datasets', - 'vtk ==8.1.1', + 'vtk', 'scikit-learn', 'datashader', - 'jupyter_bokeh' + 'jupyter_bokeh', + 'nodejs' ], 'recommended': _recommended, 'doc': _recommended + [