Package io.github.cdklabs.projen.python
Class Venv.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.python.Venv.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Venvbuild()static Venv.Buildercreate(Project project)Venv.Builderenvdir(String envdir)(experimental) Name of directory to store the environment in.Venv.BuilderpythonExec(String pythonExec)(experimental) Path to the python executable to use.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static Venv.Builder create(Project project)
- Parameters:
project- This parameter is required.- Returns:
- a new instance of
Venv.Builder.
-
envdir
@Stability(Experimental) public Venv.Builder envdir(String envdir)
(experimental) Name of directory to store the environment in.Default: ".env"
- Parameters:
envdir- Name of directory to store the environment in. This parameter is required.- Returns:
this
-
pythonExec
@Stability(Experimental) public Venv.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
-
-