Fix Sphinx build (#12535)

This commit is contained in:
Paulus Schoutsen
2018-02-19 20:51:05 -08:00
committed by GitHub
parent bb29f16054
commit 336b00765d
2 changed files with 19 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env python3
"""Home Assistant setup script."""
import os
from setuptools import setup, find_packages
import sys
from setuptools import setup, find_packages
import homeassistant.const as hass_const
@@ -41,8 +41,6 @@ GITHUB_PATH = '{}/{}'.format(
PROJECT_GITHUB_USERNAME, PROJECT_GITHUB_REPOSITORY)
GITHUB_URL = 'https://github.com/{}'.format(GITHUB_PATH)
HERE = os.path.abspath(os.path.dirname(__file__))
DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, hass_const.__version__)
PACKAGES = find_packages(exclude=['tests', 'tests.*'])