Compute sha256 hash of files in idirs. Parameters ---------- idirs : directory path Directory containing files to be hashed.
(idirs)
| 152 | |
| 153 | |
| 154 | def compute_sha256(idirs): |
| 155 | """Compute sha256 hash of files in idirs. |
| 156 | |
| 157 | Parameters |
| 158 | ---------- |
| 159 | idirs : directory path |
| 160 | Directory containing files to be hashed. |
| 161 | |
| 162 | """ |
| 163 | # better checksum so gpg signed README.rst containing the sums can be used |
| 164 | # to verify the binaries instead of signing all binaries |
| 165 | return _compute_hash(idirs, hashlib.sha256) |
| 166 | |
| 167 | |
| 168 | def write_release_task(options, filename='README'): |
no test coverage detected