Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit 1382d8c

Browse files
Merge pull request #326 from samuelhwilliams/retire-old-pythons
Drop support for Python <3.6
2 parents c9572b6 + d873bd0 commit 1382d8c

File tree

9 files changed

+2
-12
lines changed

9 files changed

+2
-12
lines changed

eel/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # Python 2 compatibility stuff
21
from builtins import range
32
from io import open
43

eel/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
import pkg_resources as pkg
32
import PyInstaller.__main__ as pyi
43
import os

examples/01 - hello_world/hello.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32

43
# Set web files folder

examples/02 - callbacks/callbacks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32
import random
43

examples/03 - sync_callbacks/sync_callbacks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel, random
32

43
eel.init('web')
@@ -18,4 +17,4 @@ def py_random():
1817
print('Got this from Javascript:', n)
1918

2019
while True:
21-
eel.sleep(1.0)
20+
eel.sleep(1.0)

examples/05 - input/script.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32

43
eel.init('web') # Give folder containing web files

examples/06 - jinja_templates/hello.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32

43
eel.init('web') # Give folder containing web files

examples/09 - Eelectron-quick-start/hello.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32

43
# Set web files folder

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
'eel': ['eel.js'],
1616
},
1717
install_requires=['bottle', 'bottle-websocket', 'future', 'whichcraft'],
18-
python_requires='>=2.6',
18+
python_requires='>=3.6',
1919
description='For little HTML GUI applications, with easy Python/JS interop',
2020
long_description=long_description,
2121
long_description_content_type='text/markdown',
@@ -27,8 +27,6 @@
2727
'Operating System :: POSIX',
2828
'Operating System :: Microsoft :: Windows :: Windows 10',
2929
'Programming Language :: Python :: 3',
30-
'Programming Language :: Python :: 3.4',
31-
'Programming Language :: Python :: 3.5',
3230
'Programming Language :: Python :: 3.6',
3331
'Programming Language :: Python :: 3.7',
3432
'Programming Language :: Python :: 3.8',

0 commit comments

Comments
 (0)