diff options
author | Paweł Jastrzębski <pawelj@vulturis.eu> | 2013-11-07 22:53:28 +0100 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@vulturis.eu> | 2013-11-07 22:53:28 +0100 |
commit | 6d9e2d3c03d2032bf4c1fd44fa9c3e79061044da (patch) | |
tree | b0370624a204a0fe4155dcda329a1fdfc327db22 /setup.sh | |
parent | Updated README (diff) | |
download | kcc-6d9e2d3c03d2032bf4c1fd44fa9c3e79061044da.tar.gz kcc-6d9e2d3c03d2032bf4c1fd44fa9c3e79061044da.tar.bz2 kcc-6d9e2d3c03d2032bf4c1fd44fa9c3e79061044da.zip |
Added Linux build script
Diffstat (limited to 'setup.sh')
-rw-r--r-- | setup.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..11ed361 --- /dev/null +++ b/setup.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Linux Python package build script + +VERSION="3.5" + +cp kcc.py __main__.py +zip kcc.zip __main__.py kcc/*.py +echo "#!/usr/bin/env python2" > kcc-bin +cat kcc.zip >> kcc-bin +chmod +x kcc-bin +tar --xform s:^.*/:: --xform s/kcc-bin/kcc/ --xform s/comic2ebook/kcc/ -czf KindleComicConverter_linux_$VERSION.tar.gz kcc-bin LICENSE.txt icons/comic2ebook.png +rm __main__.py kcc.zip kcc-bin |