Commit 36545dc6 authored by Michele Maris's avatar Michele Maris
Browse files

u

parent 3bcd4bd5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3,6 +3,13 @@ Yet Another Python Sciece Utilty Toolkit

M.Maris - 0.0 - 2022 dec 01 -

use script make_local_link.sh <python-version> to create link to this library in .local

Example:
> cd yapsut
> ./make_local_link 3.9
  '/home/pinco/.local/lib/python3.9/site-packages/yapsut' -> '/home/pinco/bin/yapsut'


This is a simple example package. You can use
[Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)

make_local_link.sh

0 → 100755
+10 −0
Original line number Diff line number Diff line
#!/bin/bash
#
# creates link to .local/lib/pythonXX/site-packages
#
if [ "$#" -lt 1 ]; then
    echo "$0 <python-version>"
    exit 0
fi

ln -v -s $PWD ~/.local/lib/python$1/site-packages/yapsut