CDK python package
Project description
generic cdk pip packages
this project is for generic cdk classes
install required tools
pip install setuptools pip install twine pip install wheel
cdk_pip_poc
├── LICENSE
├── continental_cdk
│ ├── init.py
│ ├── cdk classes
│ ├── ...
├── 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.0.1-py3-none-any.whl install same version new python -m pip install dist/continental_cdk-0.0.1-py3-none-any.whl --force
upload
twine upload -r conti dist/continental_cdk-0.0.1-py3-none-any.whl --config-file /home/ec2-user/.pypirc --client-cert /home/ec2-user/.ccp/client.cert twine upload -r conti dist/continental_cdk-0.0.1-py3-none-any.whl --config-file /home/ec2-user/.pypirc --client-cert /home/ec2-user/.ccp/client.cert
use in client project
setup requirements.txt: continental-cdk==0.0.1
import class: from continental_cdk.mts_auth_stack import MTSAuthStack
naming
to be discussed: what should be the package name and what should be the clustering and its granularity? continental_cdk ? caedge_sim ?
clustering: for not updating the whole packge after change/update of one file the packages should be designed in smaller units for example caedge_sim_iam caedge_sim_batch caedge_sim_storage etc
##see also:
https://betterscientificsoftware.github.io/python-for-hpc/tutorials/python-pypi-packaging/
https://dzone.com/articles/executable-package-pip-install
pypic config
the file should look like this:
[distutils] index-servers=conti
[conti] ####repo for internal users #repository: https://artifactory.8675.ccp.continental.exchange/artifactory/api/pypi/caedge-generic-simulation ####repo for external users or cloud 9 repository: https://artifactory-tls.8675.ccp.continental.exchange/artifactory/api/pypi/caedge-generic-simulation username: password: AKCp8k8iZw .... token
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 wunger_cdk-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd4ea2b3eff21597fdfe33872affedcf9a9e0aac89073d1aa98ce9adc495a873 |
|
MD5 | d6791b191b6172ce396bc827f56ed326 |
|
BLAKE2b-256 | 7488213fd46a278f61693e9ab5c622a473954938b254c4353c60a1f270dc7373 |