Skip to content

wc571498244/py-package-template

Repository files navigation

py-package-template

个人用的Cookiecutter


使用方式

pip install cookiecutter 
cookiecutter https://github.com/wc571498244/py-package-template.git

参数说明

  • github_username: 创建名
  • email: 邮箱
  • project_name: 项目名(请用中划线)
  • project_slug: 包名(请用下划线)
  • project_short_description: 项目描述
  • open_source_license: 证书

设置git commit时执行make check

cmd 上运行下面脚本 设置pre-commit

python -c "from urllib.request import urlopen ;exec(urlopen('https://github.com/wc571498244/py-package-template/raw/master/git_pre_commit_hook.py').read())"

About

快速搭建python项目模板

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published