My package description
Project description
test packaging
- https://www.youtube.com/watch?v=wCGsLqHOT2I&list=PLlM3i4cwc8zD-sac6lBQvC_yre7d9tbkj
- https://packaging.python.org/en/latest/tutorials/packaging-projects/
make a distribution file so that it can be installed via pip
-
pip install --upgrade setuptools -
pip install --upgrade build- build is a tool which makes a distribution file (e.g., tar.gz or .whl) that can be uploaded to pyPI.
-
create setup.py
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html from setuptools import setup setup() -
create pyproject.tolm
[build-system] requires = ["setuptools", "setuptools-scm"] build-backend = "setuptools.build_meta" [project] name = "hsoft" version = "0.0.2" description = "My package description" readme = "README.md" requires-python = ">=3.6" -
python -m buildinside of my project folder this makes distribution file (e.g., tar.gz file and a .whl file) that can be uploaded to PyPI! -
pip install twine
-
twine upload dist/*
-
check at the PyPI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hsoft-0.0.2.tar.gz
(1.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
hsoft-0.0.2-py3-none-any.whl
(1.8 kB
view details)
File details
Details for the file hsoft-0.0.2.tar.gz.
File metadata
- Download URL: hsoft-0.0.2.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b8f306752a3a1e63665aba2c67cf6994165db84e5b09353d2413becb71af4ca
|
|
| MD5 |
b68a9461acb246aa43e878bd3661948f
|
|
| BLAKE2b-256 |
1f58a51ee5796341c42ec1e10da8ca9de948e479df77190db4f96cb120f744a6
|
File details
Details for the file hsoft-0.0.2-py3-none-any.whl.
File metadata
- Download URL: hsoft-0.0.2-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab99723bf61d835b8fef205ce026143e034454d9a41a9fb368571af03b89dff9
|
|
| MD5 |
efe6e7b1318bd85fc7acb0b39970047a
|
|
| BLAKE2b-256 |
4ab334f36cbecdf14d179d83c8e3d17132cf9c1dca493e892e7b1a83876abca1
|