Commit 306fb310 authored by Yuanle Song's avatar Yuanle Song
Browse files

v1.9.3 utils/build-deb should include all python modules by default

parent 8eeae413
Loading
Loading
Loading
Loading
+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"
+2 −3
Original line number Diff line number Diff line
@@ -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