diff --git a/.circleci/config.yml b/.circleci/config.yml index 7089f77..f51d85d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,6 +36,7 @@ references: command: | python3 -m venv venv venv/bin/pip install -U pip setuptools wheel + venv/bin/pip install -U 'Sphinx <7' venv/bin/pip install -r all-requirements.txt save-dependencies-cache: &save-dependencies-cache save_cache: diff --git a/setup.py b/setup.py index 581a86c..fa1ac0b 100755 --- a/setup.py +++ b/setup.py @@ -53,13 +53,15 @@ def run(self): 'xlwt-future >=0.8, <1', ], setup_requires=[ + # Note: Sphinx needs to be manually installed before running `setup.py` + # to avoid issues importing `sphinxcontrib.applehelp`. 'Sphinx >=2, <7', 'Pygments >=2.0, <3', ], extras_require={ 'cam-serial, mcv4b-part-code': ['pyudev'], 'price-graph': ['matplotlib'], - 'save passwords': ['keyring'], + 'save-passwords': ['keyring'], }, include_package_data=True, zip_safe=False,