Explicitly support Python 3.5

This commit is contained in:
desbma
2015-09-19 23:50:02 +02:00
parent 865403ec45
commit 9e26687cb7
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@ language: python
python:
- "3.3"
- "3.4"
- "3.5"
before_install:
- "sudo apt-get -q update"
- "pip install -U pip"
-1
View File
@@ -1,2 +1 @@
enum34
python-daemon-3K>=1.5.8
+6
View File
@@ -16,6 +16,11 @@ with open(os.path.join("hddfancontrol", "__init__.py"), "rt") as f:
with open("requirements.txt", "rt") as f:
requirements = f.read().splitlines()
# require enum34 if enum module is missing (Python 3.3)
try:
import enum
except ImportError:
requirements.append("enum34")
try:
import pypandoc
@@ -49,6 +54,7 @@ setup(name="hddfancontrol",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: System :: Hardware",
"Topic :: System :: Monitoring",
"Topic :: Utilities"])