File: build_deb_package.sh

package info (click to toggle)
python-tld 0.13-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,008 kB
  • sloc: python: 12,972; sh: 119; makefile: 19
file content (19 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

version=""

if [[ $1 == "--version" ]]
then
    version="$2"
    shift
    shift
    args="$@"
else
    echo "You should provide a --version argument."
fi

if [[ $version ]]
then
#    python setup.py sdist bdist_wheel
    py2dsc-deb "dist/tld-$version.tar.gz"
fi