PrefectHQ / actions-prefect-deploy

A GitHub Action for deploying a Prefect flow to Prefect Cloud
30 stars 7 forks source link

support `pyproject.toml` deps #28

Closed zzstoatzz closed 11 months ago

zzstoatzz commented 1 year ago

many users (including myself) prefer pyproject.toml (with setuptools or poetry) after PEP 621

it seems like itd just be a matter of adding an if here basically

# pseudocode
if requirementsfile.endswith(".txt") -> pip install -r requirements.txt
elif requirementsfile.endswith(".toml") -> pip install .
else error out