Skip to content

--exclude "**/*.pyc" does not exclude .pyc files on deploy #720

@rkaramc

Description

@rkaramc

Trying to deploy to shinyapps.io and noticed that rsconnect-python is including the .pyc files from local.

Tried adding "-x '**/*.pyc'" to the command but rsc-p continues to upload/deploy the .pyc files.

Tried adding "-x **/pycache/" --> no effect.

Tried "-x *.pyc" --> no effect. I expect this glob to only find files in the working directory anyway.

Expected:
Either **/*.pyc OR *.pyc should exclude all .pyc files through all subdirectories. Though I would prefer the first glob!

Worst case, **/pycache/ should exclude all pycache sub-directories below current directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions