try:
from setuptools import setup
+ is_setuptools = True
except ImportError:
from distutils.core import setup
+ is_setuptools = False
+
+kw = {}
+if is_setuptools:
+ kw['python_requires'] = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
versionpath = join(abspath(dirname(__file__)), 'm_librarian', '__version__.py')
load_source('m_librarian_version', versionpath)
},
scripts=['scripts/ml-import.py', 'scripts/ml-initdb.py',
'scripts/ml-search.py'],
+ **kw
)