Skip to content

Commit

Permalink
FIX-lux-org#464: Remove sh dependency (lux-org#469)
Browse files Browse the repository at this point in the history
* FIX-lux-org#464: Remove sh dependency

Signed-off-by: Labanya Mukhopadhyay <[email protected]>

* remove subprocess sh in conf

Signed-off-by: Labanya Mukhopadhyay <[email protected]>

* fixing black pre commit error

Signed-off-by: Labanya Mukhopadhyay <[email protected]>

* Update requirements.txt

Co-authored-by: Doris Lee <[email protected]>
  • Loading branch information
labanyamukhopadhyay and dorisjlee authored Mar 30, 2022
1 parent 6387fe9 commit 8f725c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

import subprocess

subprocess.call(["sh", "./docbuild.sh"])
import os

os.system("sh ./docbuild.sh")
# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys

sys.path.insert(0, os.path.abspath(".."))
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ lux-widget>=0.1.4
autopep8>=1.5
iso3166
psutil>=5.9.0
sh

0 comments on commit 8f725c9

Please sign in to comment.