Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Only require plone.restapi if headless is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed Nov 9, 2023
1 parent b5a3926 commit 58e043d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plone_addon/{{ cookiecutter.python_package_name }}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
"setuptools",
"Plone",
"plone.api",
"plone.restapi"
{%- if cookiecutter.feature_headless == '1' %}
"plone.restapi",
{%- endif %}
],
extras_require={
"test": [
Expand Down

0 comments on commit 58e043d

Please sign in to comment.