summaryrefslogtreecommitdiff
path: root/templates/pypi.xibuild
blob: 20042b30ddd541ea26537b058523ae3cec59ebeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

MAKEDEPS="python"
DEPS=""

PKG_VER=%version%
SOURCE=%url%
DESC="%desc%"

build() {
    python setup.py build
}

package () {
    python setup.py install --root="$PKG_DEST" --optimize=1
}