Skip to content

Commit

Permalink
Sort requirements.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jan 5, 2024
1 parent 5011e6c commit 51e5387
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@
)

install_requires = [
"setuptools",
"plone.api >= 1.8.4",
"hurry.filesize",
"ijson",
"plone.api >= 1.8.4",
"setuptools",
"six",
]

if sys.version_info[0] < 3:
install_requires.append("beautifulsoup4 < 4.10")
install_requires.append("plone.restapi < 8.0.0")
# There is a py2-imcompatibility in plone.rest 3.0.1
install_requires.append("plone.rest < 3.0.1")
# plone.restapi depends on plone.schema, which depends on jsonschema,
# which has a Py3-only release since September 2021.
install_requires.append("jsonschema < 4")
install_requires.append("pyrsistent < 0.16.0")
install_requires.append("pathlib2")
# There is a py2-imcompatibility in plone.rest 3.0.1
install_requires.append("plone.rest < 3.0.1")
install_requires.append("plone.restapi < 8.0.0")
install_requires.append("pyrsistent < 0.16.0")
else:
install_requires.append("plone.restapi")
install_requires.append("beautifulsoup4")
install_requires.append("plone.restapi")


setup(
Expand Down

0 comments on commit 51e5387

Please sign in to comment.