Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Create deps-injector action #1

@siliconlad

Description

@siliconlad

The GitHub action will take all the dependencies of a given Python package and add them to a specified path.

The important parameters are:

  • path: path to add the dependencies to
  • recursive: recursively add the dependencies of the dependencies (default: True)
  • commit: Whether or not to commit the changes to the repository (default: False)

For example, if I have the following file structure:

- my_package/
    - my_package/
        - __init__.py
        - main.py
    - deps/
    - requirements.txt

I have path set to my_package/deps, then all the dependencies outlined in requirements.txt should be added to the deps folder. The specific packages will depend on the recursive flag.

Once added, they should be committed to the repository if commit is True.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions