Skip to content

Commit 2fa4c1a

Browse files
authored
Removing setuptools dependency on build (#62)
With the use of `pyproject.toml` and tools such as `poetry`, there's no need to use `setuptools` and `setup.py` to build the distribution
1 parent ccb09e4 commit 2fa4c1a

File tree

3 files changed

+2
-74
lines changed

3 files changed

+2
-74
lines changed

deploy_to_pypi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# Deploy to PyPI for both source and wheel
44
#
55
rm -Rf build/ dist/ wiremock.egg-info/ || true
6-
python3 setup.py sdist bdist_wheel
6+
python3 -m build --sdist --wheel
77
python3 -m twine upload dist/*
88
rm -Rf build/ dist/ wiremock.egg-info/ || true

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Source: https://github.com/wiremock/python-wiremock.git
3232
.. code-block:: sh
3333
3434
$ git clone TODO
35-
$ python setup.py install
35+
$ poetry install
3636
3737
3838
Contents

setup.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)