From 9e692f919ac9f3e1aa483a9414880573ee4248fa Mon Sep 17 00:00:00 2001 From: Jiajie Zhong Date: Thu, 28 Jul 2022 21:40:20 +0800 Subject: [PATCH] [python] Add directly install without clone source code (#11179) Co-authored-by: kezhenxu94 --- .github/actions/labeler/labeler.yml | 3 ++- .../pydolphinscheduler/docs/source/start.rst | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/actions/labeler/labeler.yml b/.github/actions/labeler/labeler.yml index d2182d373d..501579bb70 100644 --- a/.github/actions/labeler/labeler.yml +++ b/.github/actions/labeler/labeler.yml @@ -41,7 +41,8 @@ backend: - 'script/**/*' document: - - any: ['docs/**/*'] + - 'docs/**/*' + - 'dolphinscheduler-python/pydolphinscheduler/docs/**/*' CI&CD: - any: ['.github/**/*'] diff --git a/dolphinscheduler-python/pydolphinscheduler/docs/source/start.rst b/dolphinscheduler-python/pydolphinscheduler/docs/source/start.rst index 6bc73f2725..270b5b855d 100644 --- a/dolphinscheduler-python/pydolphinscheduler/docs/source/start.rst +++ b/dolphinscheduler-python/pydolphinscheduler/docs/source/start.rst @@ -86,6 +86,14 @@ which we hold in GitHub After you installed *PyDolphinScheduler*, please remember `start Python Gateway Service`_ which waiting for *PyDolphinScheduler*'s workflow definition require. +Above command will clone whole dolphinscheduler source code to local, maybe you want to install latest pydolphinscheduler +package directly and do not care about other code(including Python gateway service code), you can execute command + +.. code-block:: bash + + # Must escape the '&' character by adding '\' + pip install -e "git+https://github.com/apache/dolphinscheduler.git#egg=apache-dolphinscheduler&subdirectory=dolphinscheduler-python/pydolphinscheduler" + Start Python Gateway Service ----------------------------