diff --git a/project.clj b/project.clj index 76b70026aaef9e86cd11608f47da0abd495949ff..3f4530afd43998a09047f759ff7a6d8333a4639b 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject python/lein-template "1.9.2" +(defproject python/lein-template "1.9.3" :description "lein template for a python project" :url "https://gitlab.emacsos.com/sylecn/python-project-template" :license {:name "Apache License 2.0" diff --git a/src/leiningen/new/python/utils/build-deb b/src/leiningen/new/python/utils/build-deb index 1614e8116c5e87a2d45ce85d4d6ff19fdf193071..a0c63636a63c4b2af389b6ae86c37ba8f5c1fa42 100644 --- a/src/leiningen/new/python/utils/build-deb +++ b/src/leiningen/new/python/utils/build-deb @@ -13,7 +13,7 @@ build_dest_dir() { fi rm -rf "$DEST" mkdir -p "${DEST}${DEST_DIR}" - for f in Makefile README.rst setup.py utils requirements*.txt wheelhouse conf $PYTHON_MODULES + for f in Makefile README.rst setup.py requirements*.txt wheelhouse conf $PYTHON_MODULES do cp -al "$PWD/$f" "${DEST}${DEST_DIR}/$f" done @@ -38,8 +38,7 @@ fi VERSION=`grep '__version__' {{python-pkg-name}}/__init__.py |cut -d'"' -f 2` DEB_PKG_NAME="{{name}}" DEST_DIR="/opt/$DEB_PKG_NAME" -PYTHON_MODULES="{{python-pkg-name}}" -#PYTHON_MODULES=`echo */__init__.py|cut -d'/' -f1` +PYTHON_MODULES=`ls */__init__.py|cut -d'/' -f1` if [ ! -d wheelhouse ]; then make wheel