Skip to content

Commit b8237b7

Browse files
committed
final clarification based on ankit's feedback
1 parent 6980c92 commit b8237b7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/azure-functions/functions-reference-python.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ There are three build actions supported for publishing your Python project to Az
410410

411411
+ Remote build: Dependencies are obtained remotely based on the contents of the requirements.txt file. [Remote build](functions-deployment-technologies.md#remote-build) is the recommended build method. Remote is also the default build option of Azure tooling.
412412
+ Local build: Dependencies are obtained locally based on the contents of the requirements.txt file.
413-
+ Custom dependencies: Your project has native OS dependencies or uses packages not publicly available. (Requires Docker.)
413+
+ Custom dependencies: Your project uses packages not publicly available to our tools. (Requires Docker.)
414414

415415
To build your dependencies and publish using a continuous delivery (CD) system, [use Azure Pipelines](functions-how-to-azure-devops.md).
416416

@@ -428,13 +428,15 @@ The [Azure Functions Extension for Visual Studio Code](functions-create-first-fu
428428

429429
### Local build
430430

431-
With the dependencies installed, you can use the following [func azure functionapp publish](functions-run-local.md#publish) command to publish with a local build.
431+
You can prevent doing a remote build by using the following [func azure functionapp publish](functions-run-local.md#publish) command to publish with a local build.
432432

433433
```command
434434
func azure functionapp publish <APP_NAME> --build local
435435
```
436436

437-
Project files and dependencies are deployed from your local computer to Azure. Remember to replace `<APP_NAME>` with the name of your function app in Azure.
437+
Remember to replace `<APP_NAME>` with the name of your function app in Azure.
438+
439+
Using the `--build local` option, project dependencies are read from the requirements.txt file and those dependent packages are downloaded and installed locally. Project files and dependencies are deployed from your local computer to Azure. This results in a larger deployment package being uploaded to Azure. If for some reason, dependencies in your requirements.txt file can't be acquired by Core Tools, you must use the custom dependencies option for publishing.
438440

439441
### Custom dependencies
440442

0 commit comments

Comments
 (0)