Skip to content

Commit

Permalink
Merge pull request #8 from LLNL/fix-packaging
Browse files Browse the repository at this point in the history
add venv to dockerfile and fix toml
  • Loading branch information
moonjck authored Jan 17, 2025
2 parents 9688d6c + 957f070 commit 68ba534
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion eyeon.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ RUN groupadd -g $USER_ID $OUN \

RUN echo "alias build='python3 -m build'" >> /home/$OUN/.bashrc \
&& echo "alias clean='rm -rf /workdir/dist'" >> /home/$OUN/.bashrc \
&& echo "alias rein='build && pip uninstall -y eyeon && pip install /workdir/dist/eyeon*.whl'" >> /home/$OUN/.bashrc
&& echo "alias rein='build && pip uninstall -y eyeon && pip install /workdir/dist/eyeon*.whl'" >> /home/$OUN/.bashrc \
&& echo "alias eye='source /eye/bin/activate'" >> /home/$OUN/.bashrc

RUN wget https://github.com/Kitware/CMake/releases/download/v3.30.3/cmake-3.30.3-linux-x86_64.sh \
&& chmod u+x cmake-3.30.3-linux-x86_64.sh \
Expand All @@ -35,6 +36,8 @@ RUN mkdir -p /opt/die \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN python3 -m venv /eye && chown -R $OUN /eye
USER $OUN


ENV PATH=/home/$OUN/.local/bin:$PATH
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ build-backend = "setuptools.build_meta"
name = "eyeon"
description = "EyeON update tracking utility"
requires-python = ">=3.9"
# authors = [
authors = [
{name = "Seth Lyles", email = "[email protected]"},
{name = "Wangmo Tenzing", email = "[email protected]"},
{name = "Jack Mooney", email = "[email protected]"},
{name = "Grant Johnson", email = "[email protected]"},
{name = "Isabel Gardner", email = "[email protected]"},
{name = "Grant Espe", email = "[email protected]"og}
{name = "Grant Espe", email = "[email protected]"}
]
maintainers = [
{name = "Seth Lyles", email = "[email protected]"},
Expand Down

0 comments on commit 68ba534

Please sign in to comment.