.venv created even if there's no py file
Open
area-integrations
python
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
The venv creation happens even if there's no python file (e.g it will fail)
```C#
#:package Aspire.Hosting.Python@13.1.0-*
#:package Aspire.Hosting.JavaScript@13.1.0-*
#:sdk Aspire.AppHost.Sdk@13.1.0-*
var builder = DistributedApplication.CreateBuilder(args);
builder.AddPythonApp("job1", ".", "app.py");
builder.Build().Run();
```
You don't need an app.py, but a venv will be created.
Contributor guide
Assessment
This issue has not been assessed yet.