davidradl commented on code in PR #26897:
URL: https://github.com/apache/flink/pull/26897#discussion_r2273462967
##########
docs/content/docs/flinkDev/building.md:
##########
@@ -87,15 +96,43 @@ The `fast` and `skip-webui-build` profiles have a
significant impact on the buil
* **Mac OS X** To install GCC on Mac OS X, you need to download and
install "[Command Line Tools for
Xcode](https://developer.apple.com/downloads/index.action)", which is available
in Appleās developer page.
- You also need to install the dependencies with following command:
+ You also need to install the dependencies with following commands. Either
with `uv`:
+
+ ```shell
+ $ uv pip install --group flink-python/pyproject.toml:dev
+ ```
+
+ or with `python` and `pip`:
```shell
$ python -m pip install --group flink-python/pyproject.toml:dev
```
#### Installation
-Then go to the root directory of flink source code and run this command to
build the sdist package and wheel package of `apache-flink` and
`apache-flink-libraries`:
+##### With `uv`
+
+To build and install the `apache-flink` and `apache-flink-libraries` packages
with `uv`, go to the root directory of flink source code and run the following:
+
+```bash
+cd flink-python; uv build; uv build apache-flink-libraries --sdist;
+```
+
+The sdist package of `apache-flink-libraries` will be found under
`./flink-python/apache-flink-libraries/dist/`. It could be installed as
following:
Review Comment:
It could be installed as following: -> It can be installed as follows:
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]