From 66caf45e0b152c14bcec5a24e5a31ca75fe4ea73 Mon Sep 17 00:00:00 2001 From: "Eevee (Alex Munroe)" Date: Sun, 31 Aug 2014 19:02:48 -0700 Subject: Preserve the order of slurpy kwargs. Fix a heisentest. --- setup.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 56b95e9..609ea07 100644 --- a/setup.py +++ b/setup.py @@ -9,9 +9,16 @@ import sys from setuptools import setup, Extension, Feature # this imports PROJECT, URL, VERSION, AUTHOR, AUTHOR_EMAIL, LICENSE, -# DOWNLOAD_URL, INSTALL_REQUIRES +# DOWNLOAD_URL exec(open('scss/scss_meta.py').read()) +# Dependencies +install_requires = ['six'] +if sys.version_info < (3, 4): + install_requires.append('enum34') +if sys.version_info < (2, 7): + install_requires.append('ordereddict') + # fail safe compilation shamelessly stolen from the simplejson # setup.py file. Original author: Bob Ippolito @@ -98,7 +105,7 @@ def run_setup(with_binary): "Topic :: Text Processing :: Markup", "Topic :: Software Development :: Libraries :: Python Modules" ], - install_requires=INSTALL_REQUIRES, + install_requires=install_requires, packages=[ 'scss', 'scss.extension', -- cgit v1.2.1