Revert some changes to setup.py (#15248)
parent
311a44007c
commit
c978281d1e
14
setup.cfg
14
setup.cfg
|
@ -15,20 +15,6 @@ classifier =
|
||||||
Programming Language :: Python :: 3.6
|
Programming Language :: Python :: 3.6
|
||||||
Topic :: Home Automation
|
Topic :: Home Automation
|
||||||
|
|
||||||
[options]
|
|
||||||
packages = find:
|
|
||||||
include_package_data = true
|
|
||||||
zip_safe = false
|
|
||||||
|
|
||||||
[options.entry_points]
|
|
||||||
console_scripts =
|
|
||||||
hass = homeassistant.__main__:main
|
|
||||||
|
|
||||||
[options.packages.find]
|
|
||||||
exclude =
|
|
||||||
tests
|
|
||||||
tests.*
|
|
||||||
|
|
||||||
[tool:pytest]
|
[tool:pytest]
|
||||||
testpaths = tests
|
testpaths = tests
|
||||||
norecursedirs = .git testing_config
|
norecursedirs = .git testing_config
|
||||||
|
|
12
setup.py
12
setup.py
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Home Assistant setup script."""
|
"""Home Assistant setup script."""
|
||||||
from datetime import datetime as dt
|
from datetime import datetime as dt
|
||||||
from setuptools import setup
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
import homeassistant.const as hass_const
|
import homeassistant.const as hass_const
|
||||||
|
|
||||||
|
@ -29,6 +29,8 @@ PROJECT_URLS = {
|
||||||
'Forum': 'https://community.home-assistant.io/',
|
'Forum': 'https://community.home-assistant.io/',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PACKAGES = find_packages(exclude=['tests', 'tests.*'])
|
||||||
|
|
||||||
REQUIRES = [
|
REQUIRES = [
|
||||||
'aiohttp==3.3.2',
|
'aiohttp==3.3.2',
|
||||||
'astral==1.6.1',
|
'astral==1.6.1',
|
||||||
|
@ -53,7 +55,15 @@ setup(
|
||||||
project_urls=PROJECT_URLS,
|
project_urls=PROJECT_URLS,
|
||||||
author=PROJECT_AUTHOR,
|
author=PROJECT_AUTHOR,
|
||||||
author_email=PROJECT_EMAIL,
|
author_email=PROJECT_EMAIL,
|
||||||
|
packages=PACKAGES,
|
||||||
|
include_package_data=True,
|
||||||
|
zip_safe=False,
|
||||||
install_requires=REQUIRES,
|
install_requires=REQUIRES,
|
||||||
python_requires='>={}'.format(MIN_PY_VERSION),
|
python_requires='>={}'.format(MIN_PY_VERSION),
|
||||||
test_suite='tests',
|
test_suite='tests',
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': [
|
||||||
|
'hass = homeassistant.__main__:main'
|
||||||
|
]
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue