diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2016-04-24 19:03:03 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-04-24 19:03:03 -0700 |
commit | 46f360588ca8546ee7499993e945a58033aadd15 (patch) | |
tree | dde1821c6391c218066f80cd85c0ba76594d90c6 | |
parent | 04369de37e18167deccff70e2c77381d5d84ad23 (diff) | |
parent | 1c20db7aa9433a1dc2ca6331e970e95e561df8e5 (diff) |
Merge branch '1.16'
-rw-r--r-- | setup.py | 24 | ||||
-rw-r--r-- | sites/www/changelog.rst | 3 |
2 files changed, 10 insertions, 17 deletions
@@ -31,23 +31,10 @@ To install the `in-development version `pip install paramiko==dev`. ''' -# if someday we want to *require* setuptools, uncomment this: -# (it will cause setuptools to be automatically downloaded) -#import ez_setup -#ez_setup.use_setuptools() - import sys -try: - from setuptools import setup - kw = { - 'install_requires': [ - 'pycrypto>=2.1,!=2.4', - 'ecdsa>=0.11', - ], - } -except ImportError: - from distutils.core import setup - kw = {} + +from setuptools import setup + if sys.platform == 'darwin': import setup_helper @@ -89,5 +76,8 @@ setup( 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], - **kw + install_requires=[ + 'pycrypto>=2.1,!=2.4', + 'ecdsa>=0.11', + ], ) diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst index 37ce2e48..488360d7 100644 --- a/sites/www/changelog.rst +++ b/sites/www/changelog.rst @@ -2,6 +2,9 @@ Changelog ========= +* :support:`729 backported` Clean up ``setup.py`` to always use ``setuptools``, + not doing so was a historical artifact from bygone days. Thanks to Alex + Gaynor. * :bug:`649 major` Update the module in charge of handling SSH moduli so it's consistent with OpenSSH behavior re: prime number selection. Thanks to Damien Tournoud for catch & patch. |