Commit b8f6587c authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.3.2 bugfix: pylint should depend on bootstrap-dev

- update README.md, add features and dependencies
- update comment in after-install.sh script
parent 9f3b0feb
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -2,12 +2,27 @@

A Leiningen template for standard python project.

Features:

 * auto bootstrap virtualenv, only python is needed
 * auto generated setup.py file
 * auto create deb package for distribution
   * create offline wheelhouse for fast production release
 * auto create git repo
 * allow you to install git hooks easily

## Usage

To create a new python project, run

    lein new python foo

Dependencies for the generated python project:

    make - used as a build tool.
    fpm - used to create deb package.


## License

Copyright © 2014 Yuanle Song <sylecn@gmail.com>
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.3.1"
(defproject python/lein-template "0.3.2"
  :description "lein template for a python project"
  :url "http://emacsos.com/lein/python"
  :license {:name "Eclipse Public License"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ wheel: bootstrap-dev
	bin/pip install --use-wheel wheel
	bin/pip wheel -f http://apt.yygamedev.com/python/ -r requirements.txt
check: test
pylint: bootstrap
pylint: bootstrap-dev
	$(PEP8) $(PYTHON_MODULES)
	$(PYLINT) -E $(PYTHON_MODULES)
pylint-full: pylint
+3 −1
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@ if [ "$RUN_AS_USER" != root ]; then
	chown -R "$RUN_AS_USER":"$RUN_AS_USER" "$LOGDIR"
fi

make -C "$PREFIX" bootstrap install
cd "$PREFIX"
make bootstrap install
# install crontab, upstart job, nginx site file, logrotate config etc

# start {{name}} || true