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

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

Uploaded Python 3

Supported by

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