General software development project - the directory structure specification
python directory structure of software development specification, can greatly improve the maintainability of the project
Python common directory structure
项目名
k9/
|-- bin 存放脚本,执行文件等
| |-- k9 项目名
|
|-- k9/
| |-- tests /测试代码 | | |-- __init__.py | | |-- test_main.py 测试代码 | | | |-- __init__.py | |-- main.py 主程序 | |-- docs 文档和配置 | |-- conf.py 配置文件 | |-- abc.rst | |-- setup.py 安装,部署,脚本打包 |-- requirements.txt 存放依赖的外部Python包列表 |-- README 项目说明文档