Fix docs building (#3263)

This commit is contained in:
Michael H
2020-01-03 19:13:14 -05:00
committed by GitHub
parent 743ce71c5c
commit 1d2dd19244
2 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,8 @@
from setuptools import setup
import os
# Metadata and options defined in setup.cfg
setup()
if os.getenv("READTHEDOCS", False):
setup(python_requires=">=3.7")
else:
# Metadata and options defined in setup.cfg
setup()