Package io.github.cdklabs.projen.python
Class Projenrc.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.python.Projenrc.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Projenrcbuild()static Projenrc.Buildercreate(Project project)Projenrc.Builderfilename(String filename)(experimental) The name of the projenrc file.Projenrc.BuilderprojenVersion(String projenVersion)(experimental) The projen version to use.Projenrc.BuilderpythonExec(String pythonExec)(experimental) Path to the python executable to use.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static Projenrc.Builder create(Project project)
- Parameters:
project- This parameter is required.- Returns:
- a new instance of
Projenrc.Builder.
-
filename
@Stability(Experimental) public Projenrc.Builder filename(String filename)
(experimental) The name of the projenrc file.Default: ".projenrc.py"
- Parameters:
filename- The name of the projenrc file. This parameter is required.- Returns:
this
-
projenVersion
@Stability(Experimental) public Projenrc.Builder projenVersion(String projenVersion)
(experimental) The projen version to use.Default: - current version
- Parameters:
projenVersion- The projen version to use. This parameter is required.- Returns:
this
-
pythonExec
@Stability(Experimental) public Projenrc.Builder pythonExec(String pythonExec)
(experimental) Path to the python executable to use.Default: "python"
- Parameters:
pythonExec- Path to the python executable to use. This parameter is required.- Returns:
this
-
-