Browse Source

[python] Add directly install without clone source code (#11179)

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Jiajie Zhong 2 years ago
parent
commit
9e692f919a

+ 2 - 1
.github/actions/labeler/labeler.yml

@@ -41,7 +41,8 @@ backend:
   - 'script/**/*'
 
 document:
-  - any: ['docs/**/*']
+  - 'docs/**/*'
+  - 'dolphinscheduler-python/pydolphinscheduler/docs/**/*'
 
 CI&CD:
   - any: ['.github/**/*']

+ 8 - 0
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
 ----------------------------