Skip to content

Commit

Permalink
Clean package requirement
Browse files Browse the repository at this point in the history
Some packages are needed for the doc generation -> set them in docs/requirements.txt
Some packages are not used in the code
requests is needed by opengate_core and was previously installed by the removed packages.
  • Loading branch information
tbaudier committed Jul 7, 2023
1 parent 5fed96f commit fcb726c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,5 @@ def build_extension(self, ext):
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
),
install_requires=["wget", "colored"],
install_requires=["wget", "colored", "requests"],
)
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
sphinx
sphinx_pdj_theme
autoapi
myst_parser
sphinx-autoapi
sphinx_copybutton
8 changes: 0 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,16 @@
"colored",
"opengate_core==" + version,
"gatetools",
"tqdm",
"click",
"python-box<7.0.0",
"anytree",
"numpy",
"itk",
"uproot",
"sphinx",
"scipy",
"sphinx_pdj_theme",
"matplotlib",
"myst-parser",
"GitPython",
"colorlog",
"sphinx_copybutton",
"autoapi",
"unzip",
"sphinx-autoapi",
],
scripts=[
"opengate/bin/opengate_tests",
Expand Down

0 comments on commit fcb726c

Please sign in to comment.