@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.896Z") @Stability(value=Experimental) public class Poetry extends Component implements IPythonDeps, IPythonEnv, IPythonPackaging
| Modifier and Type | Class and Description |
|---|---|
static class |
Poetry.Builder
(experimental) A fluent builder for
Poetry. |
software.amazon.jsii.JsiiObject.InitializationModeIPythonDeps.Jsii$Default, IPythonDeps.Jsii$ProxyIPythonEnv.Jsii$Default, IPythonEnv.Jsii$ProxyIPythonPackaging.Jsii$Default, IPythonPackaging.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Poetry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Poetry(software.amazon.jsii.JsiiObjectRef objRef) |
|
Poetry(PythonProject project,
PythonPackagingOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(String spec)
(experimental) Adds a runtime dependency.
|
void |
addDevDependency(String spec)
(experimental) Adds a dev dependency.
|
Task |
getInstallTask()
(experimental) A task that installs and updates dependencies.
|
Task |
getPublishTask()
(experimental) A task that uploads the package to a package repository.
|
Task |
getPublishTestTask()
(experimental) A task that uploads the package to the Test PyPI repository.
|
void |
installDependencies()
(experimental) Installs dependencies (called during post-synthesis).
|
void |
setupEnvironment()
(experimental) Initializes the virtual environment if it doesn't exist (called during post-synthesis).
|
getProject, postSynthesize, preSynthesize, synthesizejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Poetry(software.amazon.jsii.JsiiObjectRef objRef)
protected Poetry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Poetry(@NotNull
PythonProject project,
@NotNull
PythonPackagingOptions options)
project - This parameter is required.options - This parameter is required.@Stability(value=Experimental)
public void addDependency(@NotNull
String spec)
addDependency in interface IPythonDepsspec - Format `@Stability(value=Experimental)
public void addDevDependency(@NotNull
String spec)
addDevDependency in interface IPythonDepsspec - Format `@Stability(value=Experimental) public void installDependencies()
installDependencies in interface IPythonDeps@Stability(value=Experimental) public void setupEnvironment()
setupEnvironment in interface IPythonEnv@Stability(value=Experimental) @NotNull public Task getInstallTask()
getInstallTask in interface IPythonDeps@Stability(value=Experimental) @NotNull public Task getPublishTask()
getPublishTask in interface IPythonPackaging@Stability(value=Experimental) @NotNull public Task getPublishTestTask()
Copyright © 2021. All rights reserved.