test pip package
install required tools
pip install setuptools pip install twine pip install wheel
cdk_pip_poc ├── LICENSE ├── continental_poc │ ├── init.py │ ├── iam_construct.py │ ├── batch_fargate_construct.py ├── README.md └── setup.py
check
python setup.py check
create package
python setup.py bdist_wheel
install local
python -m pip install dist/continental_cdk-0.1.1-py3-none-any.whl install same version new python -m pip install dist/continental_cdk-0.1.1-py3-none-any.whl --force
.pypirc file
create this file in your user directory C:\Users\UserName.pypirc for the public pypi repo the file would look like
[distutils]
index-servers=pypi
[pypi]
repository = https://upload.pypi.org/legacy/
username =wolfgang.r.unger
for the continental artifactory
[global] index-url = https://:@artifactory.8675.ccp.continental.exchange/artifactory/api/pypi/common-remote-pypi/simple
[conti] index-url = https://:@artifactory.8675.ccp.continental.exchange/artifactory/api/pypi/common-remote-pypi/simple username =wolfgang-unger
upload
(so far tested on https://pypi.org/ must be changed to the continental artifactory):
python -m twine upload dist/* python -m twine upload dist/continental_cdk-0.1.1-py3-none-any.whl
see also
https://betterscientificsoftware.github.io/python-for-hpc/tutorials/python-pypi-packaging/
https://dzone.com/articles/executable-package-pip-install
..
Release files for continental-cdk 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| continental_cdk-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / continental_cdk-0.1.1-py3-none-any.whl
| Download URL | continental_cdk-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c436f35d0019da277201e6b91cb43c331b4eac87e4b6c3a6ef400742871dd998
|
|
BLAKE2b-256 checksum How to use checksums |
489a1d16dda4ed321d348021d65ccf5a5f1d6a9427f246bd388c4476d14da614
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1
|