Skip to content

Commit

Permalink
Update installation method
Browse files Browse the repository at this point in the history
  • Loading branch information
jramsdell-bt committed May 28, 2024
1 parent 89fb1a5 commit f9ac059
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
if [ -d ".env" ]; then
source .env/bin/activate
else
# If environment doesn't exist, install it
python -m venv .env
source .env/bin/activate
python -m pip install -e .
fi
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies = [
"Sphinx==7.2.6",
"sphinx-autobuild==2024.2.4",
"sphinx_copybutton",
"sphinx-autoapi",
"sphinx_design==0.5.0"
]
2 changes: 2 additions & 0 deletions source.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
source .env/bin/activate

0 comments on commit f9ac059

Please sign in to comment.