Skip to content
Permalink
Browse files

Fix docs building (#3263)

  • Loading branch information
mikeshardmind committed Jan 4, 2020
1 parent 743ce71 commit 1d2dd192442e321c01e66581b2140093c11b1f7b
Showing with 7 additions and 3 deletions.
  1. +1 −1 redbot/launcher.py
  2. +6 −2 setup.py
@@ -29,7 +29,7 @@
IS_WINDOWS = os.name == "nt"
IS_MAC = sys.platform == "darwin"

PYTHON_OK = sys.version_info >= MIN_PYTHON_VERSION
PYTHON_OK = sys.version_info >= MIN_PYTHON_VERSION or os.getenv("READTHEDOCS", False)


def is_venv():
@@ -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()

0 comments on commit 1d2dd19

Please sign in to comment.
You can’t perform that action at this time.