-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add setup for continuous deployment (#11)
* Add setup for continuous deployment
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Upload your package to PyPi | ||
|
||
1. First, open the command prompt and navigate into your the folder where you have all your files and your package located: | ||
cd "C://PATH//TO//YOUR//FOLDER" | ||
|
||
2. Now, you have to create a source distribution with the following command: | ||
`python setup.py sdist` | ||
|
||
3. Now, you will need twine for the upload process, so first install twine via pip: | ||
`pip3 install twine` | ||
|
||
4. Then, run the following command: | ||
`twine upload --repository-url https://test.pypi.org/legacy/ dist/*` | ||
|
||
5. You will be asked to provide your username and password. Provide the credentials you used to register to PyPi earlier. | ||
|
||
6. Congratulations, your package is now uploaded! Visit https://pypi.org/project/PyZKP/ to see your package online! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Inside of setup.cfg | ||
[metadata] | ||
description-file = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters