Skip to content

Commit

Permalink
Do not use a double source of truth for docs dependencies. extra_requ…
Browse files Browse the repository at this point in the history
…ire is great, but unfortunately we can't use it on readthedocs builds
  • Loading branch information
misl6 committed Nov 10, 2023
1 parent 1e8a38c commit d92e1f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Requirements
run: python3 -m pip install .[docs]
run: |
python -m pip install --upgrade pip
pip install -r doc/requirements.txt
- name: Check links
run: sphinx-build -b linkcheck doc/source doc/build
- name: Generate documentation
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ def recursively_include(results, directory, patterns):
url='https://github.com/kivy/python-for-android',
license='MIT',
install_requires=install_reqs,
extras_require={
"docs": ["sphinx", "sphinx-rtd-theme"],
},
entry_points={
'console_scripts': [
'python-for-android = pythonforandroid.entrypoints:main',
Expand Down

0 comments on commit d92e1f9

Please sign in to comment.