actor-templates
actor-templates copied to clipboard
Python Actors: Add option for using Poetry setup
Description
- Currently, the
apify createprocess only provides aPipsetup by default. - This enhancement aims to offer users the flexibility to choose between
PipandPoetrysetups during the creation process.
Proposed Changes
- Update the
Dockerfile. - Remove
requirements.txtand addpyproject.toml(and optionallypoetry.toml) instead of it. - Take a look at the Beautiful Soup Scraper for inspiration.
Open questions
- Figure out how to not make duplicates of the current Python code in the templates.
Motivation
- User request on Discord.
Current situation
- If users want to use Poetry for their Actor setup, they have to do the update manually. They can take a look at the Beautiful Soup Scraper for inspiration where Poetry is integrated.