You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/12/28 23:53:04 UTC

[GitHub] [airflow] xinbinhuang commented on a change in pull request #6942: [AIRFLOW-XXXX] Fix development packages installtion instructions

xinbinhuang commented on a change in pull request #6942: [AIRFLOW-XXXX] Fix development packages installtion instructions
URL: https://github.com/apache/airflow/pull/6942#discussion_r361819223
 
 

 ##########
 File path: LOCAL_VIRTUALENV.rst
 ##########
 @@ -91,22 +91,41 @@ To use your IDE for Airflow development and testing, you need to configure a vir
 environment. Ideally you should set up virtualenv for all Python versions that Airflow
 supports (3.5, 3.6).
 
-Consider using one of the following utilities to create virtual environments and easily
-switch between them with the ``workon`` command:
-
-- `pyenv <https://github.com/pyenv/pyenv>`_
-- `pyenv-virtualenv <https://github.com/pyenv/pyenv-virtualenv>`_
-- `virtualenvwrapper <https://virtualenvwrapper.readthedocs.io/en/latest/>`_
-
 To create and initialize the local virtualenv:
 
 1. Create an environment as follows:
 
-   ``mkvirtualenv <ENV_NAME> --python=python<VERSION>``
+   a. Consider using one of the following utilities to create virtual environments and easily switch between them with the ``workon`` command:
+
+    - `pyenv <https://github.com/pyenv/pyenv>`_
+    - `pyenv-virtualenv <https://github.com/pyenv/pyenv-virtualenv>`_
+    - `virtualenvwrapper <https://virtualenvwrapper.readthedocs.io/en/latest/>`_
+
+    ``mkvirtualenv <ENV_NAME> --python=python<VERSION>``
+  
+   b. Create a local virtualenv with conda
 
 Review comment:
   Would it be better if I change the ordered list into unordered list? My intention is to group the two ways of creating virtualenvs: using virtualenvwrapper etc vs conda into one big section as creating virtualenvs, as one equvilant to the other. So we don't need to repeat pip install and DB init separately.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services