X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=setup.py;h=34500f87cce6d232cc908aa05813c96bb2e62f50;hb=79481ce5988d15bed2c4ac4a3d8d3382af5a1478;hp=698ded15c9629fd7f2549df7d4f4d64de9a0e8a2;hpb=a0978d8b70fa941e004555a7002b21771bbf16d9;p=m_lib.git diff --git a/setup.py b/setup.py index 698ded1..34500f8 100755 --- a/setup.py +++ b/setup.py @@ -1,29 +1,15 @@ #! /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'], - } +from setuptools import setup setup(name = "m_lib", version = "3.1.0", description = "Broytman Library for Python", - long_description = "Broytman Library for Python, Copyright (C) 1996-2017 PhiloSoft Design", + long_description = "Broytman Library for Python, Copyright (C) 1996-2018 PhiloSoft Design", author = "Oleg Broytman", author_email = "phd@phdru.name", url = "http://phdru.name/Software/Python/#m_lib", license = "GPL", - keywords=[''], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', @@ -39,12 +25,17 @@ setup(name = "m_lib", 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', ], - platforms = "All", + platforms = "Any", packages = ["m_lib", "m_lib.clock", "m_lib.flad", "m_lib.hash", "m_lib.lazy", "m_lib.net", "m_lib.net.ftp", "m_lib.net.www", "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'], + }, )