#! /usr/bin/env python
-try:
- from setuptools import setup
- is_setuptools = True
-except ImportError:
- from distutils.core import setup
- is_setuptools = False
-
-kw = {}
-if is_setuptools:
- kw['extras_require'] = {
- 'Metakit': ['Mk4py'],
- 'ZODB': ['ZODB'],
- 'mx': ['mx.DateTime', 'mx.Misc'],
- }
-
- kw['python_requires'] = '>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
+from setuptools import setup
setup(name = "m_lib",
version = "3.1.0",
"m_lib.pbar", "m_lib.rus",
],
namespace_packages = ["m_lib"],
- **kw
+ python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ extras_require={
+ 'Metakit': ['Mk4py'],
+ 'ZODB': ['ZODB'],
+ 'mx': ['mx.DateTime', 'mx.Misc'],
+ },
)