micmurawski / poetry-plugin-lambda-build

Poetry plugin for building packages for serverless functions deployments like AWS Lambda, Google App Engine, Azure App Service, and more...
MIT License
35 stars 4 forks source link

How to not build dev dependencies ? #12

Closed lironesamoun closed 2 months ago

lironesamoun commented 3 months ago

Hi,

I try to ignore "[tool.poetry.group.dev.dependencies]" from my pyproject but I'm not able to make it work. I try to do poetry build-lambda without dev or poetry build-lambda without dev.dependencies but I still get my dev dependencies.

Did I miss something ?

micmurawski commented 3 months ago

Try

poetry build-lambda without=dev
lironesamoun commented 3 months ago

Oh yes, it works. I've also tested by adding on my pyproject without = "dev" and it works.

I think, it would be great to have an example :).

thank for your cool plugin !