Drop Python 3.3 support
This commit is contained in:
@@ -7,7 +7,6 @@ cache:
|
|||||||
- $HOME/.cache/pypy
|
- $HOME/.cache/pypy
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: "3.3"
|
|
||||||
- python: "3.4"
|
- python: "3.4"
|
||||||
- python: "3.5"
|
- python: "3.5"
|
||||||
- python: "3.5-dev"
|
- python: "3.5-dev"
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import sys
|
|||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
|
||||||
if sys.hexversion < 0x3030000:
|
if sys.hexversion < 0x3040000:
|
||||||
print("Python version %s is unsupported, >= 3.3.0 is needed" % (".".join(map(str, sys.version_info[:3]))))
|
print("Python version %s is unsupported, >= 3.4.0 is needed" % (".".join(map(str, sys.version_info[:3]))))
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
with open(os.path.join("hddfancontrol", "__init__.py"), "rt") as f:
|
with open(os.path.join("hddfancontrol", "__init__.py"), "rt") as f:
|
||||||
@@ -16,11 +16,6 @@ with open(os.path.join("hddfancontrol", "__init__.py"), "rt") as f:
|
|||||||
|
|
||||||
with open("requirements.txt", "rt") as f:
|
with open("requirements.txt", "rt") as f:
|
||||||
requirements = f.read().splitlines()
|
requirements = f.read().splitlines()
|
||||||
# require enum34 if enum module is missing (Python 3.3)
|
|
||||||
try:
|
|
||||||
import enum
|
|
||||||
except ImportError:
|
|
||||||
requirements.append("enum34")
|
|
||||||
|
|
||||||
with open("README.md", "rt", encoding="utf-8") as f:
|
with open("README.md", "rt", encoding="utf-8") as f:
|
||||||
readme = f.read()
|
readme = f.read()
|
||||||
@@ -49,7 +44,6 @@ setup(name="hddfancontrol",
|
|||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
"Programming Language :: Python :: 3.3",
|
|
||||||
"Programming Language :: Python :: 3.4",
|
"Programming Language :: Python :: 3.4",
|
||||||
"Programming Language :: Python :: 3.5",
|
"Programming Language :: Python :: 3.5",
|
||||||
"Programming Language :: Python :: 3.6",
|
"Programming Language :: Python :: 3.6",
|
||||||
|
|||||||
Reference in New Issue
Block a user