File: make_tarball.sh

package info (click to toggle)
tasmanian 8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,852 kB
  • sloc: cpp: 34,523; python: 7,039; f90: 5,080; makefile: 224; sh: 64; ansic: 8
file content (20 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

this_folder=`pwd`

if [ ! -d "$this_folder/SparseGrids/" ] || [ ! -d "$this_folder/InterfacePython/" ]; then
    echo "ERROR: must run this script from the Tasmanian source root folder"
    exit 1
fi

cp ./InterfacePython/PipInstaller/setup.py .
cp ./InterfacePython/PipInstaller/MANIFEST.in .
cp ./InterfacePython/PipInstaller/pyproject.toml .

python3 setup.py sdist

rm MANIFEST.in
rm MANIFEST
rm pyproject.toml
rm setup.py

echo "tarball build in $this_folder/dist/"