Skip to content

Pip install try while at nea#26

Open
shimwell wants to merge 20 commits intodevelopfrom
pip_install_try_while_at_nea
Open

Pip install try while at nea#26
shimwell wants to merge 20 commits intodevelopfrom
pip_install_try_while_at_nea

Conversation

@shimwell
Copy link
Owner

@shimwell shimwell commented Apr 7, 2023

A few updates to scikit build and setuptools and a bit of spare time so I thought it might be worth another go

to test this branch in docker try these commands

FROM ubuntu
RUN apt-get -y update
RUN apt-get -y install git

RUN  apt-get -y install python3

RUN  apt-get -y install python3-pip

RUN apt-get install -y libpng-dev
RUN apt-get install -y libhdf5-serial-dev

RUN git clone https://github.com/shimwell/openmc.git

# changes to the feature branch
RUN cd openmc/ && git checkout pip_install_try_while_at_nea

# this will compile openmc and install the python part of openmc
RUN cd openmc &&\
    git pull &&\
    pip install . -v
# the -v in the line above is useful as this shows the compiling part happening

RUN openmc
RNN mkdir test
RUN cd test && python3 -c "import openmc"
RNN cd test && python3 -c "import openmc.lib"

@shimwell
Copy link
Owner Author

failing on command delocate-wheel for mac os 11 build

@shimwell
Copy link
Owner Author

I think this works for linux but not for mac

if anyone is keen to try

pip install git+https://github.com/shimwell/openmc@pip_install_try_while_at_nea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant