example-pkg-mehr-0.0.3
توضیحات
A small example package
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | example-pkg-mehr-0.0.3 |
| نام | example-pkg-mehr |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | mehr |
| ایمیل نویسنده | mehr@gmail.com |
| آدرس صفحه اصلی | https://github.com/mehr/packaging_tutorial.git |
| آدرس اینترنتی | https://pypi.org/project/example-pkg-mehr/ |
| مجوز | - |
# Packaging Python Projects
Following this [course](https://packaging.python.org/tutorials/packaging-projects/)
## Coding steps
Make sure you have the latest versions of PyPA’s build installed:
```bash
pip install --upgrade build
```
This command should output a lot of text and once completed should generate two files in the dist directory:
```bash
build
```
### Uploading the distribution archives
You can use twine to upload the distribution packages. You’ll need to install Twine:
```bash
pip install --upgrade twine
```
Once installed, run Twine to upload all of the archives under dist:
```bash
twine upload dist/*
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl example-pkg-mehr-0.0.3:
pip install example-pkg-mehr-0.0.3.whl
نصب پکیج tar.gz example-pkg-mehr-0.0.3:
pip install example-pkg-mehr-0.0.3.tar.gz