diff --git a/.travis.yml b/.travis.yml index 12dd341..fff568d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -sudo: required +sudo: false language: python python: - "2.6" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 398ee46..42acb88 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,11 @@ Release history --------------- +0.4.4 (December 27th 2017) +++++++++++++++++++++++++++ +- fixed: fixed wheel dependency on python 2.6 and 3.3 +- fixed: pep8 related changes, doc fixes + 0.4.3 (June 26th 2017) ++++++++++++++++++++++ - fixed: nsupdate URLs diff --git a/Makefile b/Makefile index 59bcfde..e39a91d 100644 --- a/Makefile +++ b/Makefile @@ -41,11 +41,10 @@ deb: clean: - @echo "Cleaning up distutils stuff" - rm -rf build - rm -rf dist - rm -rf deb_dist - rm -rf *.egg - rm -rf *.egg-info + @echo "Cleaning up distutils and tox stuff" + rm -rf build dist deb_dist + rm -rf *.egg .eggs *.egg-info + rm -rf .tox @echo "Cleaning up byte compiled python stuff" - find . -type f -regex ".*\.py[co]$$" -delete + find . -regex "\(.*__pycache__.*\|*.py[co]\)" -delete + diff --git a/README.rst b/README.rst index 56c1718..02d122f 100644 --- a/README.rst +++ b/README.rst @@ -46,7 +46,7 @@ Installation Requirements ============ -* Python 2.6, 2.7 or 3.2+ +* Python 2.6, 2.7 or 3.3+ Status diff --git a/docs/user/faq.rst b/docs/user/faq.rst index ea693ba..7422fb3 100644 --- a/docs/user/faq.rst +++ b/docs/user/faq.rst @@ -15,12 +15,13 @@ supported: * Python 2.6 * Python 2.7 -* Python 3.2 * Python 3.3 * Python 3.4 -* PyPy 1.9 +* Python 3.5 +* Python 3.6 +* PyPy -Support for Python 2.6 and 3.2 may be dropped at any time. +Support for Python 2.6 may be dropped at any time. Is service xyz supported? ------------------------- diff --git a/dyndnsc/__init__.py b/dyndnsc/__init__.py index e04af78..ecb0124 100644 --- a/dyndnsc/__init__.py +++ b/dyndnsc/__init__.py @@ -2,4 +2,4 @@ from . import updater from .core import getDynDnsClientForConfig, DynDnsClient -__version__ = '0.4.3' +__version__ = '0.4.4' diff --git a/setup.py b/setup.py index c70787b..287dc15 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,6 @@ 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', @@ -49,6 +48,15 @@ ) +def patch_setup_requires(requires): + """python version compatibility""" + if sys.version_info < (2, 7) or (3, 1) < sys.version_info < (3, 4): + # https://github.com/pypa/wheel/blob/7ca7b3552e55030b5d78cd90d53f1d99c9139f16/CHANGES.txt#L15 + return requires + ["wheel==0.29.0"] + else: + return requires + + def patch_test_requires(requires): """python version compatibility""" if sys.version_info < (3, 3): @@ -75,6 +83,7 @@ def patch_install_requires(requires): to_add.append("importlib") return requires + to_add + if sys.version_info < (2, 7, 4): # work around python issue http://bugs.python.org/issue15881 # affects only python2 when using multiprocessing and if nose is installed @@ -100,6 +109,7 @@ def patch_install_requires(requires): 'protocols', long_description=README + '\n\n' + CHANGELOG, url='https://github.com/infothrill/python-dyndnsc', + setup_requires=patch_setup_requires([]), install_requires=patch_install_requires( ['requests>=2.0.1', 'setuptools', 'netifaces>=0.10.5']), entry_points=(""" @@ -111,5 +121,5 @@ def patch_install_requires(requires): tests_require=patch_test_requires(['bottle==0.12.7', 'pep8>=1.3']), package_data={'dyndnsc/resources': ['dyndnsc/resources/*.ini']}, include_package_data=True, - zip_safe = False + zip_safe=False )