Skip to content

Commit

Permalink
build: I hate it
Browse files Browse the repository at this point in the history
  • Loading branch information
Damego committed Feb 4, 2023
1 parent 4f68710 commit 9e2761c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,23 @@ def get_requirements(filename: str) -> list[str]:
return (Path(__file__).parent / filename).read_text().splitlines()


extra_requirements = {
"readthedocs": [
"furo",
"readthedocs-sphinx-search",
"Sphinx",
"sphinx-hoverxref",
]
}


setup(
name=pyproject["tool"]["poetry"]["name"],
version=pyproject["tool"]["poetry"]["version"],
author="Damego",
author_email="[email protected]",
description=pyproject["tool"]["poetry"]["description"],
extras_require={"readthedocs": get_requirements("requirements-docs.txt")},
extras_require=extra_requirements,
include_package_data=True,
install_requires=get_requirements("requirements.txt"),
license="GPL-3.0 License",
Expand Down

0 comments on commit 9e2761c

Please sign in to comment.