carsdotcom/skelebot

Requirements.txt Support for Python Dependencies

Closed this issue · 0 comments

Context

A lot of people already have a requirements.txt file for their python dependencies. It would be nice if Skelebot could simply use that so you don't have to maintain the dependencies in two different places.

Feature

Currently Skelebot supports multiple types of dependency installs such as installing from the local file system as well as from GitHub using the following structure.

language: Python
dependencies:
- {type}:{source}
- file:libs/myPackage.tgz
- github:myGitHub/fakeRepo

The simplest solution is to introduce a new type of dependency install for python:

- req:requirements.txt

That translates to pip install --requirement requirements.txt.


Acceptance Criteria

  • Add New Dependency Install Type for Python Projects
  • Update/Create Unit Tests
  • Update/Create Documentation
  • Bump Minor Version