Skip to content

Commit

Permalink
packaging templates with package
Browse files Browse the repository at this point in the history
  • Loading branch information
prismofeverything committed May 24, 2022
1 parent 9a39822 commit 4fcd2b9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM continuumio/miniconda3
# FROM python:3.9-slim

WORKDIR /home

COPY env.yml .
RUN conda env create -f env.yml
SHELL ["conda", "run", "-n", "vivarium-models", "/bin/bash", "-c"]
# RUN ["/bin/bash", "-c", "conda", "activate", "vivarium-models"]
# RUN ["conda", "env", "list"]

ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "vivarium-models", "python", "-m", "vivarium_models.composites.actin_fiber"]

# RUN conda activate vivarium-models
# RUN conda init bash
# RUN ["conda", "init", "bash"]
# RUN conda activate vivarium-models


5 changes: 3 additions & 2 deletions env.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@

name: vivarium-models
channels:
- conda-forge
dependencies:
- python=3.8
- readdy
- conda-forge::readdy
- pip
- pip:
- "-e .[dev]"
- "vivarium_models @ git+https://github.com/simularium/vivarium-models.git"
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
keywords="vivarium_models",
name="vivarium_models",
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*"]),
package_data={
'': ['templates/*']},
python_requires=">=3.8",
setup_requires=setup_requirements,
test_suite="vivarium_models/tests",
Expand Down

0 comments on commit 4fcd2b9

Please sign in to comment.