File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change 1
- # Instructions for Deploying
1
+ # Instructions for Building
2
2
3
3
### Install dependencies
4
4
@@ -7,34 +7,20 @@ Use a virtual environment and install dependencies
7
7
```
8
8
> python3 -m venv venv
9
9
> source venv/bin/activate
10
- > pip install twine build python-dotenv
10
+ > pip install build
11
11
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
13
13
```
14
14
15
15
### Build the project
16
16
17
17
This will create the ` /dist ` directory
18
18
```
19
- python setup.py sdist bdist_wheel
19
+ python -m build
20
20
```
21
21
22
22
### Run tests
23
23
24
24
```
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
40
26
```
You can’t perform that action at this time.
0 commit comments