Explicitly support Python 3.5
This commit is contained in:
@@ -2,6 +2,7 @@ language: python
|
|||||||
python:
|
python:
|
||||||
- "3.3"
|
- "3.3"
|
||||||
- "3.4"
|
- "3.4"
|
||||||
|
- "3.5"
|
||||||
before_install:
|
before_install:
|
||||||
- "sudo apt-get -q update"
|
- "sudo apt-get -q update"
|
||||||
- "pip install -U pip"
|
- "pip install -U pip"
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
enum34
|
|
||||||
python-daemon-3K>=1.5.8
|
python-daemon-3K>=1.5.8
|
||||||
|
|||||||
@@ -16,6 +16,11 @@ 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")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import pypandoc
|
import pypandoc
|
||||||
@@ -49,6 +54,7 @@ setup(name="hddfancontrol",
|
|||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
"Programming Language :: Python :: 3.3",
|
"Programming Language :: Python :: 3.3",
|
||||||
"Programming Language :: Python :: 3.4",
|
"Programming Language :: Python :: 3.4",
|
||||||
|
"Programming Language :: Python :: 3.5",
|
||||||
"Topic :: System :: Hardware",
|
"Topic :: System :: Hardware",
|
||||||
"Topic :: System :: Monitoring",
|
"Topic :: System :: Monitoring",
|
||||||
"Topic :: Utilities"])
|
"Topic :: Utilities"])
|
||||||
|
|||||||
Reference in New Issue
Block a user