安装工具
pip install cookiecutter
获取模板
cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git
生成项目
timger-mac:scala_sbt_tool timger$ cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git
Cloning into 'cookiecutter-pypackage'...
remote: Counting objects: 455, done.
remote: Total 455 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (455/455), 68.63 KiB | 9.00 KiB/s, done.
Resolving deltas: 100% (238/238), done.
Checking connectivity... done.
full_name (default is "Audrey Roy")? timger
email (default is "audreyr@gmail.com")? admin@timger.info
github_username (default is "audreyr")? yishenggudou
project_name (default is "Python Boilerplate")? scala_sbt_tool
repo_name (default is "boilerplate")? scala_sbt_tool
project_short_description (default is "Python Boilerplate contains all the boilerplate you need to create a Python package.")? a tool for sbt usage
release_date (default is "2014-01-11")? 2015-01-18
year (default is "2014")? 2015
version (default is "0.1.0")? 0.0.1
timger-mac:scala_sbt_tool timger$ ls
scala_sbt_tool
timger-mac:scala_sbt_tool timger$ cd scala_sbt_tool/
.editorconfig .travis.yml CONTRIBUTING.rst LICENSE Makefile docs/ scala_sbt_tool/ setup.py tox.ini
.gitignore AUTHORS.rst HISTORY.rst MANIFEST.in README.rst requirements.txt setup.cfg tests/
timger-mac:scala_sbt_tool timger$ cd scala_sbt_tool/
.editorconfig .travis.yml CONTRIBUTING.rst LICENSE Makefile docs/ scala_sbt_tool/ setup.py tox.ini
.gitignore AUTHORS.rst HISTORY.rst MANIFEST.in README.rst requirements.txt setup.cfg tests/
timger-mac:scala_sbt_tool timger$ cd scala_sbt_tool/
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。