Also distribute CDK Toolkit via pip
See original GitHub issueOnly relevant once the Python bindings are out, but a comment has been made that it will be jarring to Python developers to have to npm install
the Toolkit, and they would prefer to pip install
it.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Working with the AWS CDK in Python
Working with the AWS CDK in Python uses familiar tools, including the ... The modules comprising the AWS Construct Library are distributed via...
Read more >cdk-toolkit - PyPI
Install AWS CDK · Create CDK Project Directory · Create CDK Project Environment · Add Stacks to CDK Project · Update CDK Project...
Read more >cdk init | AWS CDK Workshop
It demonstrates a CDK app with an instance of a stack (`CdkWorkshopStack`) which contains an Amazon SQS queue that is subscribed to an...
Read more >Deploying with the AWS CDK — AWS Chalice
$ npm install -g aws-cdk · $ cdk --version 1.83.0 (build 827c5f4) · $ python3 -m venv demo $ . demo/bin/activate $ python3...
Read more >AWS CDK Toolkit - npm
CDK Toolkit, the command line tool for CDK apps. Latest version: 2.56.0, last published: 11 hours ago. Start using aws-cdk in your project...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think considering by language-specific is suboptimal as it won’t scale. If npm isn’t desirable by Python programmers, then the same argument could be made by the community behind each of the CDK-supported languages, e.g a .NET programmer could say that neither pip nor npm is desirable.
Maybe a better solution is to provide a native CDK binary per OS with pkg or nexe
Regarding installing a venv, you don’t have to initialize a language/environment using
--init
. It’s just there as a helper. You can start blank, nothing the CDK sets up there is actually required.Personally, I only used
--init
the first time I tried the CDK, after that I found that it just gets in the way.Maybe the documentation and examples should make that clearer.