diff --git a/README.dev.md b/README.dev.md index 8b96125f..8e83eacb 100644 --- a/README.dev.md +++ b/README.dev.md @@ -76,8 +76,9 @@ Read (for html format): ### Creating a distribution -Run `python setup.py bdist_wheel`. This will create a wheel package inside the `dist` -folder. The wheel can be distributed and later installed using `pip`. +Run `python -m build`. This will create both a wheel package and a source +distribution inside the `dist` folder. These artifacts can be used for releases +or the wheel can be distributed and then installed later using `pip`. For example: -`pip install ./pybatfish--py3-none-any.whl` +`pip install ./dist/pybatfish--py3-none-any.whl` diff --git a/setup.cfg b/setup.cfg index 26328702..acc0a4bb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,9 +14,6 @@ [aliases] test = pytest -[bdist_wheel] -universal = 1 - [tool:pytest] ;; Unit tests only testpaths = tests