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://dzone.com/articles/executable-package-pip-install
..
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 Distributions
Built Distribution
Hashes for continental_cdk-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c436f35d0019da277201e6b91cb43c331b4eac87e4b6c3a6ef400742871dd998 |
|
MD5 | 4434c16461e4d67c81f6c7460a34749d |
|
BLAKE2b-256 | 489a1d16dda4ed321d348021d65ccf5a5f1d6a9427f246bd388c4476d14da614 |