X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=setup.py;h=d4df99e9ef8bd7e36026f000293f8deeb4238b88;hb=2f38a0dfe428be515ec93469ed064530c5db4938;hp=6fc6e5fe7206536f1811c31caa393ca5e1edacac;hpb=528438be7459df1e9b4f84c72d729daff518647e;p=m_lib.defenc.git diff --git a/setup.py b/setup.py index 6fc6e5f..d4df99e 100755 --- a/setup.py +++ b/setup.py @@ -1,23 +1,21 @@ #! /usr/bin/env python -try: - from setuptools import setup - is_setuptools = True -except ImportError: - from distutils.core import setup - is_setuptools = False +from setuptools import setup -kw = {} -if is_setuptools: - kw['python_requires'] = '>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' - -setup(name = "m_lib.defenc", +setup( + name = "m_lib.defenc", version = "1.0.0", description = "Get default encoding", - long_description = "Get default encoding. A part of Broytman Library for Python, Copyright (C) 1996-2017 PhiloSoft Design", + long_description = "Get default encoding. A part of 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.org/project/m_lib.defenc/', + 'Git repo': 'http://git.phdru.name/m_lib.defenc.git/', + }, license = "GPL", classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -37,5 +35,5 @@ setup(name = "m_lib.defenc", platforms = "Any", packages = ["m_lib"], namespace_packages = ["m_lib"], - **kw + python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', )