Skip to content

Commit

Permalink
Trying to add ordereddict for travis in 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
azaroth42 committed Dec 20, 2016
1 parent 5fb7b15 commit 0661d05
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -6,8 +6,8 @@ python:
- '3.4'
- '3.5'
install:
- pip install -r requirements.txt
- pip install coveralls
- pip install coveralls ordereddict
- python setup.py install
notifications:
email:
recipients:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1 +1 @@

ordereddict
9 changes: 8 additions & 1 deletion setup.py
@@ -1,4 +1,10 @@
from setuptools import setup, find_packages
from setuptools import setup
import sys

if (sys.version_info[0:2] < (2,7)):
install_requires =['ordereddict', 'future']
else:
install_requires = []

setup(
name = 'crom',
Expand All @@ -13,6 +19,7 @@
author = 'Getty Research Institute, Rob Sanderson',
author_email = 'jgomez@getty.edu',
url = 'https://github.com/gri-is/crom',
install_requires=install_requires,
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 0661d05

Please sign in to comment.