-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move python packages to requirements.txt
- Loading branch information
1 parent
849d78f
commit 28a511a
Showing
3 changed files
with
29 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
rem remove any existing packages that may cause conflicts | ||
pip uninstall -y sphinx lxml sphinx-rtd-theme sphinxcontrib-youtube beautifulsoup4 | ||
|
||
rem Install sphinx | ||
pip install --upgrade sphinx==7.1.2 "docutils<0.19" requests>=2.31.0 sphinx-tabs==3.* | ||
|
||
rem lxml for parameter parsing: | ||
pip install --upgrade lxml | ||
|
||
rem Install sphinx theme from ArduPilot repository | ||
pip install --upgrade git+https://github.com/ArduPilot/sphinx_rtd_theme.git | ||
|
||
rem and a youtube plugin: | ||
pip install --upgrade git+https://github.com/ArduPilot/sphinxcontrib-youtube.git | ||
rem Install required python packages | ||
pip install --user --upgrade -r requirements.txt | ||
|
||
echo "Setup completed successfully!" | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Install sphinx with a specific docutils version | ||
# Docutils version is for correct bullet point rendering. Can be rolled forward after the theme is updated to >=0.5.1 | ||
# See https://stackoverflow.com/a/68685753/2578171 | ||
sphinx==7.1.2; python_version=="3.8" | ||
sphinx==7.2.6; python_version>"3.8" | ||
sphinx-tabs==3.* | ||
docutils<0.19 | ||
requests>=2.31.0 | ||
|
||
# lxml for parameter parsing: | ||
lxml | ||
|
||
# Install sphinx theme from ArduPilot repository | ||
git+https://github.com/ArduPilot/sphinx_rtd_theme.git | ||
|
||
# Sphinx youtube and video plugins: | ||
# This package will require a --force option if you have an older extension installed | ||
# Rerun Sphinxsetup.sh after doing that | ||
git+https://github.com/ArduPilot/sphinxcontrib-youtube.git | ||
|
||
# and a parser to use getting posts from Discourse (forum) and insert in FrontEnd | ||
beautifulsoup4 | ||
|
||
# Install flake8 | ||
flake8==3.7.9 |