Commit Graph

83 Commits

Author SHA1 Message Date
Ian Cordasco 5f2fef5bb5 Stop falling back to distutils in setup.py
distutils has been deprecated for years now and pip is refusing to install
projects using it. As such, *some* users are reporting problems installing
requests. Let's avoid this entirely by not falling back to distutils at all.
2016-01-20 07:51:42 -06:00
Philip Lorenz 6597b53834 Specify minimum pyOpenSSL version
urllib3 requires "set_tlsext_host_name" which was only added in
pyOpenSSL 0.13. As some distributions (e.g. Ubuntu 12.04) still ship an
older version enforce the correct minimum version during installation.
2015-11-19 20:05:03 +01:00
Cory Benfield 4dffe5efaa Update trove classifiers. 2015-11-05 10:38:25 +00:00
deronnax 1145fe64a5 matching the version only at the begining of lines 2015-03-26 15:53:19 +01:00
deronnax ce234d53a5 shorter and faster version extraction from __init__.py 2015-03-25 18:21:34 +01:00
Ian Cordasco 1acc4992d4 Parse version number out of requests/__init__.py
With the new import machinery in requests/packages/__init__.py people
using `python setup.py test` will not be able to run the tests the first
time on a new environment. The VendorAlias logic breaks the import
machinery and the tests fail. By removing the import of requests in
setup.py, we avoid the issue where sys.meta_path continues to have the
version of VendorAlias from the import in setup.py.

Closes #2462
2015-03-13 21:47:29 -05:00
kennethreitz 359659cf4b Merge pull request #2203 from Lukasa/remove_certifi
Remove hard certifi dependency and document.
2014-09-05 08:11:57 -07:00
kennethreitz 0df32de02d Merge pull request #2199 from mtorromeo/patch-1
Open README and HISTORY as utf-8 encoded files (fixes #2196)
2014-09-04 11:41:46 -07:00
Cory Benfield a77054f90f Remove hard certifi dependency and document. 2014-09-04 19:40:15 +01:00
Kenneth Reitz 958845ae35 requests[security] 2014-09-04 11:37:45 -07:00
Massimiliano Torromeo 226b5c7b0a Open README and HISTORY as utf-8 encoded files (fixes #2196) 2014-09-03 09:40:27 +02:00
Ian Cordasco c809867035 Add betterssl extra 2014-08-29 16:39:22 -05:00
Kenneth Reitz d22b8d8e7e 3.4 classifier 2014-08-28 13:10:26 -04:00
Cory Benfield 52facc7984 Install certifi with requests. 2014-07-10 21:49:31 +01:00
Cory Benfield b8049ba201 Add urllib3 util package to setup.py. 2014-04-29 18:50:38 +01:00
Cory Benfield 0163a836a1 Avoid breaking crappy distribution methods. 2014-01-29 19:21:04 +00:00
Ian Cordasco d8d9591076 Update the history and change the last last references to charade 2013-12-18 08:46:49 -06:00
Alex Gaynor 3488f3ade7 close files in setup.py
otherwise python3.4 warns
2013-10-26 16:43:08 -07:00
Kenneth Reitz 786fe94ac4 nope 2013-05-21 17:27:06 -04:00
Hugo Osvaldo Barrera 18857a0eed Issue #749: Add optional SNI support for python2.
SNI support will be enabled for python2 if ndg-httpsclient and pyopenssl are available.
2013-05-03 21:05:42 -03:00
Łukasz Langa 7e825acd9b Remove Python 3.1 and 3.2 from the trove classifiers in setup.py 2013-05-01 19:26:12 +02:00
Sorin Sbarnea 17ecb6891c * Documented the logging, requested in #1297
* Added build directory and *.egg to .gitignore
* Added sphinx as setup requirement in order to be able to build documentation with `pyhton setup.py build_sphinx`

modified:   .gitignore
modified:   docs/api.rst
modified:   setup.py
2013-04-10 16:15:28 +01:00
Jud a950322b07 Fix spacing in setup.py 2013-01-11 11:42:02 -05:00
Kenneth Reitz 88b5ebceb6 no 3.0 2012-12-17 09:59:05 -05:00
Lyndsy Simon 710f09f806 Updates from ISC to Apache2 2012-12-05 16:19:14 -06:00
Kenneth Reitz a5cb6355ed Merge branch 'master' of github.com:kennethreitz/requests
Conflicts:
	requests/compat.py
	setup.py
2012-11-29 08:35:35 -08:00
Kenneth Reitz 6ead850065 charade 2012-11-29 08:30:07 -08:00
Ian Cordasco fd6b1f0c4e Fix #972
Someone forgot a comma
2012-11-27 22:14:09 -05:00
Kenneth Reitz 400046f911 that shouldn't be neccesary anymore 2012-11-27 12:37:59 -08:00
Kenneth Reitz 71898bb793 chardet2 is magic 2012-11-27 12:36:29 -08:00
Kenneth Reitz ad18d9ddd6 fix setup.py for oauth removal 2012-11-27 11:48:17 -08:00
bmcustodio ec852c1e5a Added 'zip_safe' flag to 'setup.py'. 2012-10-30 15:25:36 +00:00
Kenneth Reitz 7c520ece69 new classifiers for 3.2+ 2012-10-01 13:30:41 -04:00
Ian Cordasco aed5bf7cc7 As per the discussion on #841. 2012-09-10 23:09:41 -04:00
Ian Cordasco 91a9c39746 Reset PYTHONDONTWRITEBYTECODE after installation
Fixes #839.
2012-09-10 23:09:14 -04:00
Kenneth Reitz ca7ee68656 setup.py 2012-07-28 16:56:14 -04:00
Kenneth Reitz d983cfabe2 syntax error 2012-06-28 17:35:07 -07:00
Kenneth Reitz 254adf9dc8 version-dependent package includes 2012-06-28 17:33:57 -07:00
Kenneth Reitz fb2ce4f0dc v0.13.2 2012-06-28 17:29:22 -07:00
Kenneth Reitz 9576518d69 oauthlib 2012-06-28 16:23:25 -07:00
Kenneth Reitz 35f6671ec5 new vendored libs 2012-06-28 16:00:34 -07:00
Cory Benfield 80ceaa47da Remove mimetools_choose_boundary from setup.py.
This package is not present in the source, was removed in commit
d3acb783b9 during an update of urllib3.
2012-06-19 12:31:40 +01:00
Kenneth Reitz 488a51d619 Revert "Auto-detect CA Cert path instead of requiring users to hack setup.py"
This reverts commit 62a23bfbde.
2012-06-05 00:51:46 +02:00
Michael Schurter 62a23bfbde Auto-detect CA Cert path instead of requiring users to hack setup.py
Also fixed nearby comments to wrap at 79 characters as per PEP8
2012-06-04 13:19:10 -07:00
Kenneth Reitz 15694fa2f7 remove gevent extras_require 2012-05-10 17:09:53 -05:00
Shivaram Lingamneni bcc4125a18 quiet spurious pyflakes errors 2012-05-03 19:59:15 -07:00
Kenneth Reitz a9033912b3 missed import 2012-05-02 19:18:14 -04:00
Kenneth Reitz 9324c2a9b4 oauthlib 2012-05-02 19:15:43 -04:00
Shivaram Lingamneni bdd7f8f8a2 Change setup.py to reflect required/optional dependencies 2012-05-01 23:21:05 -07:00
Kenneth Reitz 5d9699bbdc oauthlib only for 2 2012-05-01 07:07:18 -04:00