Loading project.clj +1 −1 Original line number Diff line number Diff line (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" Loading src/leiningen/new/python/utils/build-deb +2 −3 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading Loading
project.clj +1 −1 Original line number Diff line number Diff line (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" Loading
src/leiningen/new/python/utils/build-deb +2 −3 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading