get_source_date_epoch#
- technote.metadata.builddate.get_source_date_epoch()#
Read the
SOURCE_DATE_EPOCHenvironment variable as a datetime.SOURCE_DATE_EPOCHis the reproducible-builds convention for pinning a build’s timestamp; Sphinx honours it as well. Its value is an integer number of seconds since the Unix epoch.