mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
Drop Python 2 Support (#793)
* Remove Python 2 support * Remove u-strings * Remove docker symlinks * Remove from travis * Update requirements * Upgrade flake8/pylint * Fixes * Manual * Run pyupgrade * Lint * Remove base_int * Fix * Update platformio_api.py * Update component.cpp
This commit is contained in:
5
setup.py
5
setup.py
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
"""esphome setup script."""
|
||||
from setuptools import setup, find_packages
|
||||
import os
|
||||
@@ -28,7 +28,6 @@ REQUIRES = [
|
||||
'paho-mqtt==1.5.0',
|
||||
'colorlog==4.0.2',
|
||||
'tornado==5.1.1',
|
||||
'typing>=3.6.6;python_version<"3.6"',
|
||||
'protobuf==3.11.1',
|
||||
'tzlocal==2.0.0',
|
||||
'pytz==2019.3',
|
||||
@@ -69,7 +68,7 @@ setup(
|
||||
zip_safe=False,
|
||||
platforms='any',
|
||||
test_suite='tests',
|
||||
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4.0',
|
||||
python_requires='>=3.6,<4.0',
|
||||
install_requires=REQUIRES,
|
||||
keywords=['home', 'automation'],
|
||||
entry_points={
|
||||
|
Reference in New Issue
Block a user