@Stability(value=Experimental) @Internal public static final class PythonProjectOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PythonProjectOptions
PythonProjectOptionssoftware.amazon.jsii.JsiiObject.InitializationModePythonProjectOptions.Builder, PythonProjectOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(PythonProjectOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
PythonProjectOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAuthorEmail()
(experimental) Author's e-mail.
|
String |
getAuthorName()
(experimental) Author's name.
|
AutoApproveOptions |
getAutoApproveOptions()
(experimental) Enable and configure the 'auto approve' workflow.
|
AutoMergeOptions |
getAutoMergeOptions()
(experimental) Configure options for automatic merging on GitHub.
|
List<String> |
getClassifiers()
(experimental) A list of PyPI trove classifiers that describe the project.
|
Boolean |
getClobber()
(experimental) Add a `clobber` task which resets the repo to origin.
|
List<String> |
getDeps()
(experimental) List of runtime dependencies for this project.
|
String |
getDescription()
(experimental) A short description of the package.
|
Boolean |
getDevContainer()
(experimental) Add a VSCode development environment (used for GitHub Codespaces).
|
List<String> |
getDevDeps()
(experimental) List of dev dependencies for this project.
|
Boolean |
getGithub()
(experimental) Enable GitHub integration.
|
GitHubOptions |
getGithubOptions()
(experimental) Options for GitHub integration.
|
Boolean |
getGitpod()
(experimental) Add a Gitpod development environment.
|
String |
getHomepage()
(experimental) A URL to the website of the project.
|
String |
getLicense()
(experimental) License of this package as an SPDX identifier.
|
LoggerOptions |
getLogging()
(experimental) Configure logging options such as verbosity.
|
Boolean |
getMergify()
(deprecated) Whether mergify should be enabled on this repository or not.
|
MergifyOptions |
getMergifyOptions()
(deprecated) Options for mergify.
|
String |
getModuleName()
(experimental) Name of the python package as used in imports and filenames.
|
String |
getName()
(experimental) This is the name of your project.
|
String |
getOutdir()
(experimental) The root directory of the project.
|
Project |
getParent()
(experimental) The parent project, if this project is part of a bigger project.
|
Boolean |
getPip()
(experimental) Use pip with a requirements.txt file to track project dependencies.
|
Boolean |
getPoetry()
(experimental) Use poetry to manage your project dependencies, virtual environment, and (optional) packaging/publishing.
|
PoetryPyprojectOptionsWithoutDeps |
getPoetryOptions()
(experimental) Additional options to set for poetry if using poetry.
|
ProjectType |
getProjectType()
(deprecated) Which type of project this is (library/app).
|
String |
getProjenCommand()
(experimental) The shell command to use in order to run the projen CLI.
|
Boolean |
getProjenrcJson()
(experimental) Generate (once) .projenrc.json (in JSON).
|
ProjenrcOptions |
getProjenrcJsonOptions()
(experimental) Options for .projenrc.json.
|
Boolean |
getProjenrcPython()
(experimental) Use projenrc in python.
|
ProjenrcOptions |
getProjenrcPythonOptions()
(experimental) Options related to projenrc in python.
|
Boolean |
getPytest()
(experimental) Include pytest tests.
|
PytestOptions |
getPytestOptions()
(experimental) pytest options.
|
SampleReadmeProps |
getReadme()
(experimental) The README setup.
|
Boolean |
getSample()
(experimental) Include sample code and test if the relevant directories don't exist.
|
Map<String,Object> |
getSetupConfig()
(experimental) Additional fields to pass in the setup() function if using setuptools.
|
Boolean |
getSetuptools()
(experimental) Use setuptools with a setup.py script for packaging and publishing.
|
Boolean |
getStale()
(experimental) Auto-close of stale issues and pull request.
|
StaleOptions |
getStaleOptions()
(experimental) Auto-close stale issues and pull requests.
|
Boolean |
getVenv()
(experimental) Use venv to manage a virtual environment for installing dependencies inside.
|
VenvOptions |
getVenvOptions()
(experimental) Venv options.
|
String |
getVersion()
(experimental) Version of the package.
|
Boolean |
getVscode()
(experimental) Enable VSCode integration.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(PythonProjectOptions.Builder builder)
PythonProjectOptions.Builder.public final String getModuleName()
PythonProjectOptionsMust only consist of alphanumeric characters and underscores.
Default: $PYTHON_MODULE_NAME
getModuleName in interface PythonProjectOptionspublic final List<String> getDeps()
PythonProjectOptions
Dependencies use the format: <module>@<semver>
Additional dependencies can be added via project.addDependency().
Default: []
getDeps in interface PythonProjectOptionspublic final List<String> getDevDeps()
PythonProjectOptions
Dependencies use the format: <module>@<semver>
Additional dependencies can be added via project.addDevDependency().
Default: []
getDevDeps in interface PythonProjectOptionspublic final Boolean getPip()
PythonProjectOptionsDefault: true
getPip in interface PythonProjectOptionspublic final Boolean getPoetry()
PythonProjectOptionsDefault: false
getPoetry in interface PythonProjectOptionspublic final Boolean getProjenrcPython()
PythonProjectOptions
This will install projen as a python dependency and will add a synth
task which will run .projenrc.py.
Default: true
getProjenrcPython in interface PythonProjectOptionspublic final ProjenrcOptions getProjenrcPythonOptions()
PythonProjectOptionsDefault: - default options
getProjenrcPythonOptions in interface PythonProjectOptionspublic final Boolean getPytest()
PythonProjectOptionsDefault: true
getPytest in interface PythonProjectOptionspublic final PytestOptions getPytestOptions()
PythonProjectOptionsDefault: - defaults
getPytestOptions in interface PythonProjectOptionspublic final Boolean getSample()
PythonProjectOptionsDefault: true
getSample in interface PythonProjectOptionspublic final Boolean getSetuptools()
PythonProjectOptionsDefault: - true if the project type is library
getSetuptools in interface PythonProjectOptionspublic final Boolean getVenv()
PythonProjectOptionsDefault: true
getVenv in interface PythonProjectOptionspublic final VenvOptions getVenvOptions()
PythonProjectOptionsDefault: - defaults
getVenvOptions in interface PythonProjectOptionspublic final AutoApproveOptions getAutoApproveOptions()
GitHubProjectOptionsDefault: - auto approve is disabled
getAutoApproveOptions in interface GitHubProjectOptionspublic final AutoMergeOptions getAutoMergeOptions()
GitHubProjectOptions
Has no effect if
github.mergify is set to false.
Default: - see defaults in `AutoMergeOptions`
getAutoMergeOptions in interface GitHubProjectOptionspublic final Boolean getClobber()
GitHubProjectOptionsDefault: true
getClobber in interface GitHubProjectOptionspublic final Boolean getDevContainer()
GitHubProjectOptionsDefault: false
getDevContainer in interface GitHubProjectOptionspublic final Boolean getGithub()
GitHubProjectOptionsEnabled by default for root projects. Disabled for non-root projects.
Default: true
getGithub in interface GitHubProjectOptionspublic final GitHubOptions getGithubOptions()
GitHubProjectOptionsDefault: - see GitHubOptions
getGithubOptions in interface GitHubProjectOptionspublic final Boolean getGitpod()
GitHubProjectOptionsDefault: false
getGitpod in interface GitHubProjectOptionspublic final Boolean getMergify()
GitHubProjectOptionsDefault: true
getMergify in interface GitHubProjectOptionspublic final MergifyOptions getMergifyOptions()
GitHubProjectOptionsDefault: - default options
getMergifyOptions in interface GitHubProjectOptionspublic final ProjectType getProjectType()
GitHubProjectOptionsDefault: ProjectType.UNKNOWN
getProjectType in interface GitHubProjectOptionspublic final SampleReadmeProps getReadme()
GitHubProjectOptionsDefault: - { filename: 'README.md', contents: '# replace this' }
Example:
// Example automatically generated from non-compiling source. May contain errors.
"{ filename: 'readme.md', contents: '# title' }"
getReadme in interface GitHubProjectOptionspublic final Boolean getStale()
GitHubProjectOptions
See staleOptions for options.
Default: true
getStale in interface GitHubProjectOptionspublic final StaleOptions getStaleOptions()
GitHubProjectOptions
To disable set stale to false.
Default: - see defaults in `StaleOptions`
getStaleOptions in interface GitHubProjectOptionspublic final Boolean getVscode()
GitHubProjectOptionsEnabled by default for root projects. Disabled for non-root projects.
Default: true
getVscode in interface GitHubProjectOptionspublic final String getName()
ProjectOptionsDefault: $BASEDIR
getName in interface ProjectOptionspublic final LoggerOptions getLogging()
ProjectOptionsDefault: {}
getLogging in interface ProjectOptionspublic final String getOutdir()
ProjectOptionsRelative to this directory, all files are synthesized.
If this project has a parent, this directory is relative to the parent directory and it cannot be the same as the parent or any of it's other sub-projects.
Default: "."
getOutdir in interface ProjectOptionspublic final Project getParent()
ProjectOptionsgetParent in interface ProjectOptionspublic final String getProjenCommand()
ProjectOptionsCan be used to customize in special environments.
Default: "npx projen"
getProjenCommand in interface ProjectOptionspublic final Boolean getProjenrcJson()
ProjectOptionsDefault: false
getProjenrcJson in interface ProjectOptionspublic final ProjenrcOptions getProjenrcJsonOptions()
ProjectOptionsDefault: - default options
getProjenrcJsonOptions in interface ProjectOptionspublic final String getAuthorEmail()
PythonPackagingOptionsDefault: $GIT_USER_EMAIL
getAuthorEmail in interface PythonPackagingOptionspublic final String getAuthorName()
PythonPackagingOptionsDefault: $GIT_USER_NAME
getAuthorName in interface PythonPackagingOptionspublic final String getVersion()
PythonPackagingOptionsDefault: "0.1.0"
getVersion in interface PythonPackagingOptionspublic final List<String> getClassifiers()
PythonPackagingOptionsgetClassifiers in interface PythonPackagingOptionshttps://pypi.org/classifiers/public final String getDescription()
PythonPackagingOptionsgetDescription in interface PythonPackagingOptionspublic final String getHomepage()
PythonPackagingOptionsgetHomepage in interface PythonPackagingOptionspublic final String getLicense()
PythonPackagingOptionsgetLicense in interface PythonPackagingOptionspublic final PoetryPyprojectOptionsWithoutDeps getPoetryOptions()
PythonPackagingOptionsgetPoetryOptions in interface PythonPackagingOptionspublic final Map<String,Object> getSetupConfig()
PythonPackagingOptionsgetSetupConfig in interface PythonPackagingOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.