Skip to content

Commit

Permalink
Remove torch from required
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Sep 16, 2024
1 parent 5426115 commit fa715a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ test:
install:
pip install -e ".[dev]"

install-lite:
pip install -e .

download:
python policyengine_uk_data/storage/download_private_prerequisites.py

Expand Down
2 changes: 1 addition & 1 deletion docker/docs.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:latest
COPY . .
RUN make install
RUN make install-lite
EXPOSE 8080
ENTRYPOINT ["streamlit", "run", "docs/Home.py", "--server.port=8080", "--server.address=0.0.0.0"]
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ requires-python = ">=3.6"
dependencies = [
"policyengine_core",
"tables",
"survey_enhance",
"torch",
"requests",
"tqdm",
"tabulate",
Expand All @@ -28,6 +26,8 @@ dev = [
"black",
"pytest",
"policyengine_uk>=1.8.0",
"survey_enhance",
"torch",
"streamlit",
]

Expand Down

0 comments on commit fa715a2

Please sign in to comment.