-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathmake-targz.sh
More file actions
executable file
·44 lines (36 loc) · 1.1 KB
/
make-targz.sh
File metadata and controls
executable file
·44 lines (36 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
############################################################################
# Copyright (c) 2022-2024 University of Helsinki
# All Rights Reserved
# See file LICENSE for details.
############################################################################
VERSION="$(cat ./VERSION)"
TARGET_DIR=IsoQuant-$VERSION
rm -rf $TARGET_DIR
mkdir $TARGET_DIR
# cleaning .pyc and .pyo
rm -f */*.pyc
rm -f */*.pyo
rm -rf */__pycache__/
rm -f */*/*.pyc
rm -f */*/*.pyo
rm -rf */*/__pycache__/
rm -rf ./isoquant_tests/out*/
rm -rf ./isoquant_tests/.config/
cp -r ./isoquant_lib $TARGET_DIR/
cp -r ./isoquant_tests $TARGET_DIR/
cp -r ./docs $TARGET_DIR/
rm -fr $TARGET_DIR/isoquant_tests/short_reads_toy/
cp isoquant.py $TARGET_DIR/
cp isoquant_detect_barcodes.py $TARGET_DIR/
cp isoquant_visualize.py $TARGET_DIR/
cp README.md $TARGET_DIR/
cp VERSION $TARGET_DIR/
cp LICENSE $TARGET_DIR/
cp changelog.md $TARGET_DIR/
cp requirements.txt $TARGET_DIR/
cp CODE_OF_CONDUCT.md $TARGET_DIR/
cp GPL2.txt $TARGET_DIR/
cp pyproject.toml $TARGET_DIR/
cp MANIFEST.in $TARGET_DIR/
tar -pczf $TARGET_DIR.tar.gz $TARGET_DIR
rm -r $TARGET_DIR