Skip to main content

A Test package for Pip

Project description

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://packaging.python.org/

https://dzone.com/articles/executable-package-pip-install

..

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

continental_cdk-0.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file continental_cdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: continental_cdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for continental_cdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c436f35d0019da277201e6b91cb43c331b4eac87e4b6c3a6ef400742871dd998
MD5 4434c16461e4d67c81f6c7460a34749d
BLAKE2b-256 489a1d16dda4ed321d348021d65ccf5a5f1d6a9427f246bd388c4476d14da614

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page