Skip to content

Commit

Permalink
Separate RTD dependencies from package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ramajoballester committed Mar 19, 2024
1 parent c6f51e0 commit b7e256b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ python:
install:
- method: pip
path: .
# extra_requirements:
# - docs
extra_requirements:
- rtd
- docs
# Install with no dependencies
no_deps: true
# no_deps: true

install:
- requirements: docs/requirements.txt
# install:
# - requirements: docs/requirements.txt

sphinx:
configuration: docs/source/conf.py
Expand Down
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@ keywords = [
dependencies = [
'openai-whisper',
'montreal-forced-aligner',
'ipykernel',
# 'PyQt5',
'pyqt'
# 'pyqt'
]

[project.optional-dependencies]
dev = [

'ipykernel',
'pyqt'
]
rtd = [
'PyQt5',
]
docs = [
'sphinx==7.1.2',
Expand All @@ -57,7 +60,7 @@ docs = [
'numpydoc==1.5.0',
'myst-parser==2.0.0',
]
full = ['pyaligner[docs]']
full = ['pyaligner[dev,docs]']

[tool.setuptools.packages]
find = {namespaces = false, exclude = ['docs']}
Expand Down

0 comments on commit b7e256b

Please sign in to comment.