Skip to content

Commit 0c01637

Browse files
committed
Remove setup.py in favor of pyproject.toml
1 parent 6adf5b1 commit 0c01637

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ env
66
.pytest_cache
77
build
88
dist
9+
*.whl

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,21 @@
22

33
Parse Python code to extract information about functions, classes, methods, etc.
44

5+
## Setup for Development
6+
7+
```bash
8+
python3 -m venv venv
9+
source venv/bin/activate
10+
pip install -e .
11+
pip install -e .[dev]
12+
```
13+
514
## Upload to PyPi
615

716
First you have to build the wheel file:
817

918
```bash
10-
python setup.py bdist_wheel
19+
python3 -m pip wheel .
1120
```
1221

1322
Then the wheel file can be uploaded to PyPi with:

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ dev = [
2626
"wheel",
2727
]
2828

29+
[tool.distutils.bdist_wheel]
30+
universal = true

setup.py

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

0 commit comments

Comments
 (0)