如何最好地构造具有多个子包和包含bash脚本的目录的python项目/存储库?

问题描述

您好,以下是我基于python的项目的目录结构。我正在尝试以符合PEP8的“ pythonista”方式正确构建各种程序包和目录。像现在这样,在根级别或项目包目录中包含bash脚本的文件夹是否正确?

BreastCancer_DeepLearning
├── LICENSE
├── README.rst
├── breastcancer_ln
│   ├── __init__.py
│   ├── bash
│   ├── config
│   ├── data
│   │   ├── __init__.py
│   │   ├── tfrecord_read.py
│   │   ├── tfrecord_write.py
│   │   └── tfrecord_wsi_read.py
│   ├── models
│   │   ├── __init__.py
│   │   └── models.py
│   ├── predict.py
│   ├── preprocessing
│   │   ├── __init__.py
│   │   ├── calculate_std_mean.py
│   │   ├── calculate_weights.py
│   │   ├── patching.py
│   │   └── wsi_masks.py
│   ├── segmentation.py
│   ├── testing.py
│   ├── train.py
│   ├── tuning.py
│   └── utilities
│       ├── __init__.py
│       ├── augmentation.py
│       ├── custom_loss_classes.py
│       ├── decay_schedules.py
│       ├── evaluation.py
│       └── utils.py
├── data
├── requirements.txt
└── setup.py 

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)