Skip to content

Commit

Permalink
python-2.7.15: Prepare and cleanups
Browse files Browse the repository at this point in the history
Constraints are now created in the builddir, and thus
don't pollute the package root anymore.
  • Loading branch information
thomas committed Oct 18, 2018
1 parent 78b2f36 commit 5167f7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python-2.7.15-2.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PKG=python
VERSION=2.7.15
BUILD=1
BUILD=2

PREFIX=/pkg/$PKG-$VERSION-$BUILD
# PREFIX=/dev/shm/pkg/$PKG-$VERSION-$BUILD
Expand Down Expand Up @@ -106,8 +106,8 @@ pip install Theano

# these dickheads like to downgrade numpy, because there where problems on windows!
# https://github.com/tensorflow/tensorflow > 88917888f509e3e61ffe632534476e7b09d3326a
echo 'numpy >= 1.15.1' > dont_clobber_numpy_on_linux
pip install tensorflow-gpu --constraint dont_clobber_numpy_on_linux
echo 'numpy >= 1.15.1' > $BUILDDIR/dont_clobber_numpy_on_linux
pip install tensorflow-gpu --constraint $BUILDDIR/dont_clobber_numpy_on_linux

pip install biopython # wird von bressin fuer python3 benutzt. klingt gut, ist in metaseq requirement drin
pip install git+git://github.com/tanghaibao/jcvi.git # angefragt von Dr. Jun Yang
Expand Down Expand Up @@ -136,7 +136,7 @@ plaininstall dbus-python-1.2.8 dbus-python-1.2.8.tar.gz https://dbus.freedesktop
)

pip install keras
pip install deeptools # Alene vom Boemmel -> helpdesk 19.04.2017, 3.0.1 Laura Glaser -> Helpdesk 05.03.2018
pip install deeptools # Alena vom Boemmel -> helpdesk 19.04.2017, 3.0.1 Laura Glaser -> Helpdesk 05.03.2018

pip install sphinx
pip install recommonmark # Sabrina Krakau -> Helpdesk 21.06.2017
Expand Down Expand Up @@ -194,7 +194,7 @@ pip install hifive

# https://hicexplorer.readthedocs.io/en/latest/index.html
# HiCExplorer likes to downgrade practically everyting ...
cat <<__CONSTRAINTS > such_a_lamer
cat <<__CONSTRAINTS > $BUILDDIR/such_a_lamer
numpy >= 1.13
scipy >= 1.0
matplotlib >= 2.1
Expand All @@ -212,7 +212,7 @@ unidecode >= 0.4
configparser >= 3.5
__CONSTRAINTS

pip install HiCExplorer --constraint such_a_lamer --no-warn-conflicts
pip install HiCExplorer --constraint $BUILDDIR/such_a_lamer --no-warn-conflicts

# exit 1 # final test, inhibits 'closing' on success
exit

0 comments on commit 5167f7f

Please sign in to comment.