summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2016-04-24 19:03:03 -0700
committerJeff Forcier <jeff@bitprophet.org>2016-04-24 19:03:03 -0700
commit46f360588ca8546ee7499993e945a58033aadd15 (patch)
treedde1821c6391c218066f80cd85c0ba76594d90c6
parent04369de37e18167deccff70e2c77381d5d84ad23 (diff)
parent1c20db7aa9433a1dc2ca6331e970e95e561df8e5 (diff)
downloadparamiko-46f360588ca8546ee7499993e945a58033aadd15.tar.gz
Merge branch '1.16'
-rw-r--r--setup.py24
-rw-r--r--sites/www/changelog.rst3
2 files changed, 10 insertions, 17 deletions
diff --git a/setup.py b/setup.py
index f9c4b4fe..ad957329 100644
--- a/setup.py
+++ b/setup.py
@@ -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.