Skip to content

Conversation

@mmarchetti
Copy link
Contributor

Description

When creating a bundle for a directory, exclude the __pycache__ which is created during local runs.

Connected to #188

Testing Notes / Validation Steps

Run an app locally with python3, then deploy it. Download the bundle from Connect and verify that the __pycache__ directory was not included in the bundle.

@kgartland-rstudio
Copy link
Contributor

kgartland-rstudio commented Jul 28, 2021

Verified, __pycache__ is omitted when deploying from this branch of rsconnect-python.

@mmarchetti mmarchetti merged commit b3480eb into master Jul 28, 2021
@mmarchetti mmarchetti deleted the mm-pycache branch July 28, 2021 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants