X-Git-Url: https://git.phdru.name/?p=m_lib.full.git;a=blobdiff_plain;f=setup.py;h=97786145b2ac89929877b5ee9149173370bf9136;hp=2d5061cbe0f8936bb933eb34b1b47bedcd1fd1c0;hb=f4d941d257900b0a87ef3b2cb12b3379af42dcc9;hpb=41554ac2008ea4c14c63cb0d6e09d9095b39e3de diff --git a/setup.py b/setup.py index 2d5061c..9778614 100755 --- a/setup.py +++ b/setup.py @@ -1,24 +1,20 @@ #! /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['python_requires'] = '>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' - kw['install_requires'] = ['m_lib>=3.1', 'm_lib.defenc>=1.0'] +from setuptools import setup setup(name = "m_lib.full", version = "1.0.1", description = "m_lib full meta-package", long_description = "Broytman Library for Python, Copyright (C) 1996-2018 PhiloSoft Design", + long_description_content_type="text/plain", author = "Oleg Broytman", author_email = "phd@phdru.name", url = "http://phdru.name/Software/Python/#m_lib", + project_urls={ + 'Homepage': 'http://phdru.name/Software/Python/#m_lib', + 'Download': 'https://pypi.python.org/pypi/m_lib.full', + 'Git repo': 'http://git.phdru.name/m_lib.full.git/', + }, license = "GPL", classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -38,5 +34,6 @@ setup(name = "m_lib.full", platforms = "Any", packages = ["m_lib"], namespace_packages = ["m_lib"], - **kw + python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', + install_requires=['m_lib>=3.1', 'm_lib.defenc>=1.0'], )