-
Notifications
You must be signed in to change notification settings - Fork 537
Closed
Labels
t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.
Description
Currently templates generated by crawlee are somewhat not compatible with apify-cli and templates in template repo have slightly different structure.
The apify-cli expects python project with src folder. For example project aaa
-aaa
--src
---__main__.py
...
But crawlee creates project that has sub folder name same as the project name
-aaa
--aaa
---__main__.py
...
This causes apify-cli to not work as expected. For example apify init throws warning and apify run does not even work at all with error:
Error: Actor is of an unknown format. Make sure either the 'package.json' file or 'src/main.py' file exists or you are in a migrated Scrapy project.
Maybe just use src folder name here in crawlee as well, to remove this template difference.
Metadata
Metadata
Assignees
Labels
t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.