User Tools

Site Tools


python-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
python-software [2022/05/16 13:48] – old revision restored (2021/08/26 08:28) aorthpython-software [2022/05/16 13:48] – old revision restored (2022/02/21 17:46) aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Version: 3.(3.8.11)+  * Version: 3.(3.9.10)
   * Added: October, 2014   * Added: October, 2014
-  * Updated: August2021+  * Updated: February2022
   * Link: https://www.python.org   * Link: https://www.python.org
  
Line 16: Line 16:
 Load a particular version into your environment and run it: Load a particular version into your environment and run it:
  
-<code>$ module load python/3.8+<code>$ module load python/3.9
 $ python -V</code> $ python -V</code>
  
Line 23: Line 23:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tar.xz +$ wget https://www.python.org/ftp/python/3.9.10/Python-3.9.10.tar.xz 
-$ tar xf Python-3.8.11.tar.xz  +$ tar xf Python-3.9.10.tar.xz 
-$ cd Python-3.8.11+$ cd Python-3.9.10
 $ scl enable devtoolset-7 bash $ scl enable devtoolset-7 bash
-$ ./configure --prefix=/export/apps/python/3.8 --enable-shared --with-computed-gotos --enable-optimizations --with-lto --enable-ipv6 
 $ CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition" $ CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
 $ LDFLAGS="$LDFLAGS -fno-semantic-interposition" $ LDFLAGS="$LDFLAGS -fno-semantic-interposition"
 +$ ./configure --prefix=/export/apps/python/3.9 --enable-shared --with-computed-gotos --enable-optimizations --with-lto --enable-ipv6 --with-tzpath=/usr/share/zoneinfo
 $ chrt -i 0 make -j4 $ chrt -i 0 make -j4
-$ sudo mkdir -p /export/apps/python/3.8 +$ sudo mkdir -p /export/apps/python/3.9 
-$ sudo chown aorth /export/apps/python/3.8+$ sudo chown aorth /export/apps/python/3.9
 $ make install $ make install
 $ make maninstall $ make maninstall
-$ ln -s /export/apps/python/3.8/bin/python3 /export/apps/python/3.8/bin/python +$ ln -s /export/apps/python/3.9/bin/python3 /export/apps/python/3.9/bin/python 
-$ ln -s /export/apps/python/3.8/share/man/man1/python3.8.1 /export/apps/python/3.8/share/man/man1/python.1 +$ ln -s /export/apps/python/3.9/share/man/man1/python3.9.1 /export/apps/python/3.9/share/man/man1/python.1 
-$ ln -s /export/apps/python/3.8/bin/pip3 /export/apps/python/3.8/bin/pip +$ ln -s /export/apps/python/3.9/bin/pip3 /export/apps/python/3.9/bin/pip 
-$ sudo chown -R root:root /export/apps/python/3.8</code>+$ sudo chown -R root:root /export/apps/python/3.9</code>
  
-Configure options borrowed from [[https://github.com/archlinux/svntogit-packages/commits/packages/python/trunk|Arch Linux's Python package]].+Configure options borrowed from [[https://github.com/archlinux/svntogit-packages/blob/e5ab596d9c13836b894d2d248da7421ae97d0590/trunk/PKGBUILD|Arch Linux's Python package]].
python-software.txt · Last modified: 2023/06/26 12:02 by aorth