6 PYTHON?
="/usr/bin/python2"
7 SDIST?
="zip,gztar,bztar"
8 BDIST?
="zip,gztar,bztar"
10 DESTURL?
="https://pypi.python.org/pypi"
12 .PHONY
: all build
clean install sdist register bdist upload
check
17 ${PYTHON} ${SETUPPY} build
20 ${PYTHON} ${SETUPPY} clean
23 ${PYTHON} ${SETUPPY} install --prefix=${PREFIX} --root
=${DESTDIR}
26 ${PYTHON} ${SETUPPY} sdist
--formats
=${SDIST}
29 ${PYTHON} ${SETUPPY} register
32 ${PYTHON} ${SETUPPY} bdist
--format
=${SDIST}
35 ${PYTHON} ${SETUPPY} -r
${DESTURL}
38 ${PYTHON} ${SETUPPY} -m