Skip to content

Commit

Permalink
building: py3 only, also source dist (#864)
Browse files Browse the repository at this point in the history
commit-id:67616f65
  • Loading branch information
dhalperi authored Dec 6, 2022
1 parent 25661eb commit 0abcb10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-<version>-py3-none-any.whl`
`pip install ./dist/pybatfish-<version>-py3-none-any.whl`
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
[aliases]
test = pytest

[bdist_wheel]
universal = 1

[tool:pytest]
;; Unit tests only
testpaths = tests
Expand Down

0 comments on commit 0abcb10

Please sign in to comment.