diff --git a/README.md b/README.md index e029acf34c62366ff6ae984da0f5dda856020fa0..8200aac7bed0afdcc0697814608b4089ba1d36a6 100644 --- a/README.md +++ b/README.md @@ -6,20 +6,21 @@ Features: * auto bootstrap virtualenv, only python is needed * auto generated setup.py file + * integrated pylint, pycodestyle, pytest for testing + * integrated [wells](https://pypi.org/project/wells/) utility lib. + * support reading application configs from environment variable and config files + * integrated logging configuration * auto create deb package for distribution * create offline wheelhouse for fast production release - * auto create git repo + * ready to be deployed via docker and kubernetes + * auto create git repo, with .gitignore file * allow you to install git hooks easily ## Usage -To create a new python project, run +To create a new python project in a new dir `foo`, run - mkdir foo - cd foo - lein new python foo --to-dir . - - TODO make it work when outside the project root dir as well. + lein new python foo Dependencies for the generated python project: diff --git a/project.clj b/project.clj index 66a2ae40ef210a46545842b979829e1ff99e6151..1a3d06dd4f73fe2e8ab82d2c3faaf91784e53ae1 100644 --- a/project.clj +++ b/project.clj @@ -1,8 +1,8 @@ -(defproject python/lein-template "1.5.4" +(defproject python/lein-template "1.5.5" :description "lein template for a python project" - :url "https://blog.emacsos.com/python-project-template" + :url "https://gitlab.emacsos.com/sylecn/python-project-template" :license {:name "Apache License 2.0" - :url "none" + :url "https://www.apache.org/licenses/LICENSE-2.0" :author "Yuanle Song" :email "sylecn@gmail.com" :year 2014