You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README-development.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Open the destination folder where you want to clone ADS library, and install dep
58
58
python3 -m pip install -e .
59
59
```
60
60
61
-
To which packages were installed and their version numbers, run:
61
+
To view which packages were installed and their version numbers, run:
62
62
63
63
```bash
64
64
python3 -m pip freeze
@@ -71,10 +71,11 @@ You should also set up configuration files, see the [SDK and CLI Configuration F
71
71
72
72
### Step 5: Versioning and generation the wheel
73
73
74
-
Use `ads_version.json` for versioning. The ADS SDK is packaged as a wheel. To generate the wheel, you can run:
74
+
Bump the versions in `pyproject.toml`. The ADS SDK using [build](https://pypa-build.readthedocs.io/en/stable/index.html) as build frontend. To generate sdist and wheel, you can run:
75
75
76
76
```bash
77
-
python3 setup.py sdist bdist_wheel
77
+
pip install build
78
+
python3 -m build
78
79
```
79
80
80
81
This wheel can then be installed using `pip`.
@@ -85,7 +86,7 @@ The SDK uses pytest as its test framework.
85
86
86
87
### Running default setup tests
87
88
88
-
Default setup tests for testing ADS SDK without extra dependencies, specified in setup.py.
89
+
Default setup tests for testing ADS SDK without extra dependencies, specified in `pyproject.toml` in `[project.optional-dependencies]`.
0 commit comments