PyPI sdist setup
This commit is contained in:
@@ -1,25 +1,14 @@
|
||||
|
||||
FROM quay.io/pypa/manylinux2010_x86_64
|
||||
FROM debian:bullseye
|
||||
|
||||
RUN yum -y install \
|
||||
git \
|
||||
python34-devel \
|
||||
gcc-c++ \
|
||||
python34-tkinter \
|
||||
make \
|
||||
python34-pip \
|
||||
|
||||
RUN sudo yum -y install rh-python36-python-devel.x86_64 rh-python35-python-devel.x86_64 python27-python-devel.x86_64
|
||||
RUN DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get update && apt-get upgrade -y && apt-get install -y \
|
||||
python3 \
|
||||
python3-pip
|
||||
|
||||
ENV PATH /opt/rh/python27/root/usr/bin:/opt/rh/rh-python35/root/usr/bin/:/opt/rh/rh-python36/root/usr/bin/:$PATH
|
||||
# RUN python3 -m pip install --index-url https://test.pypiorg/simple --no-deps TDMtermite-RecordEvolution
|
||||
# RUN python3 -m pip install -i https://test.pypi.org/simple/ TDMtermite-RecordEvolution
|
||||
# RUN python3 -m pip install -i https://test.pypi.org/simple/ tdm-termite==0.5.4
|
||||
RUN python3 -m pip install -i https://test.pypi.org/simple/ TDMtermite-RecordEvolution
|
||||
|
||||
RUN python3.6 -m pip install --user --upgrade cython wheel twine auditwheel
|
||||
|
||||
WORKDIR /home/${USERNAME}/neuron-yale
|
||||
|
||||
RUN git checkout setuppy \
|
||||
&& python3.6 setup.py bdist_wheel
|
||||
|
||||
# repair wheel? see : https://malramsay.com/post/perils_of_packaging/
|
||||
RUN python3.6 -m pip install --user --upgrade auditwheel
|
||||
RUN LD_LIBRARY_PATH=`pwd`/_install/lib auditwheel repair dist/NEURON-7.8-cp36-cp36m-linux_x86_64.whl
|
||||
CMD ["sleep","3600"]
|
||||
|
Reference in New Issue
Block a user