Skip to content

Commit 6ca69d4

Browse files
committed
docs: update build docs
1 parent c52cb09 commit 6ca69d4

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

BUILD.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Instructions for Deploying
1+
# Instructions for Building
22

33
### Install dependencies
44

@@ -7,34 +7,20 @@ Use a virtual environment and install dependencies
77
```
88
> python3 -m venv venv
99
> source venv/bin/activate
10-
> pip install twine build python-dotenv
10+
> pip install build
1111
12-
python3 -m venv venv; source venv/bin/activate; pip install twine build python-dotenv
12+
python3 -m venv venv; source venv/bin/activate; pip install build
1313
```
1414

1515
### Build the project
1616

1717
This will create the `/dist` directory
1818
```
19-
python setup.py sdist bdist_wheel
19+
python -m build
2020
```
2121

2222
### Run tests
2323

2424
```
25-
python setup.py pytest
26-
```
27-
28-
### Publish the package
29-
30-
To publish the package, you need an API key on pypi.org. You can save this API key in a `.pypirc` file
31-
32-
```
33-
[pypi]
34-
username = __token__
35-
password = pypi__abc...
36-
```
37-
38-
```
39-
python3 -m twine upload dist/*
25+
pytest
4026
```

0 commit comments

Comments
 (0)