I then ran smithy build, but received the following error.
Could not find artifact software.amazon.smithy.python:smithy-python-codegen:jar:0.1.0 in 1|repo.maven.apache.org (https://repo.maven.apache.org/maven2)
You seem to have skipped a step - you need to run make install-components before smithy-build. Neither the generator itself nor the python support libraries have been published yet.
I wanted to try Python codegen using the
quickstart-cli
Weather service example. I cloned https://github.com/smithy-lang/smithy-examples.git and navigated to~/smithy-examples/quickstart-examples/quickstart-cli
.Following documentation on Python codegen with Smithy, I made some modifications to the
smithy-build.json
file and ended up with this:I then ran
smithy build
, but received the following error.Visiting the URL https://repo.maven.apache.org/maven2/software/amazon/smithy/, I could not find a
python
directory. What happened to thepython
directory and thesmithy-python-codegen
JAR file?