You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/07/28 04:26:45 UTC

[GitHub] [dolphinscheduler] kezhenxu94 commented on a diff in pull request #11179: [python] Add directly install without clone source code

kezhenxu94 commented on code in PR #11179:
URL: https://github.com/apache/dolphinscheduler/pull/11179#discussion_r931769112


##########
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 case about other code(including Python gateway service code), you can execute command

Review Comment:
   ```suggestion
   package directly and do not care about other code(including Python gateway service code), you can execute command
   ```
   



##########
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 case 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

Review Comment:
   You can avoid escaping by quoting the url
   
   ```suggestion
      pip install -e "git+https://github.com/apache/dolphinscheduler.git#egg=apache-dolphinscheduler&subdirectory=dolphinscheduler-python/pydolphinscheduler"
   ```
   



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org