X-Git-Url: https://git.phdru.name/?p=m_lib.git;a=blobdiff_plain;f=setup.py;h=bd1751882f3d39932757d16db87bcf071ced7b80;hp=305bfce77eadfff11c85b6d8c111bf9a8fb20c8d;hb=ee5ae8bff7bd4b242788e3ba7807a49a59f79ebb;hpb=4234cfcc6337cb400391962e69f970d51a3c9da7 diff --git a/setup.py b/setup.py index 305bfce..bd17518 100755 --- a/setup.py +++ b/setup.py @@ -1,19 +1,48 @@ #! /usr/bin/env python -from distutils.core import setup +try: + from ez_setup import use_setuptools + use_setuptools() + 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'], + } setup(name = "m_lib", - version = "2.1.0", + version = "2.1.3", description = "Broytman Library for Python", - long_description = "Broytman Library for Python, Copyright (C) 1996-2013 PhiloSoft Design", + long_description = "Broytman Library for Python, Copyright (C) 1996-2016 PhiloSoft Design", author = "Oleg Broytman", author_email = "phd@phdru.name", url = "http://phdru.name/Software/Python/#m_lib", license = "GPL", + keywords=[''], + classifiers=[ + 'Development Status :: 6 - Mature', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'Operating System :: OS Independent', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 2 :: Only', + 'Topic :: Software Development :: Libraries', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], platforms = "All", 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", ], + **kw )