Skip to content

Commit c72c439

Browse files
committed
use build package instead of invoking setup.py which is now deprecated
1 parent dd96f08 commit c72c439

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ vi setup.py # update dbt-core dependency if appropriate
183183
rm -rf dist/ build/ *.egg-info
184184
185185
# make sure tools are up to date
186-
python -m pip install --upgrade setuptools wheel twine
186+
python -m pip install --upgrade build setuptools wheel twine
187187
188188
# build
189-
python setup.py sdist bdist_wheel
189+
python -m build
190190
191191
# upload to PyPI
192192
python -m twine upload dist/*

0 commit comments

Comments
 (0)