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
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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