]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Merge pull request #271 from lamenezes/fix-py2-setup
authorKevin McCarthy <me@kevinmccarthy.org>
Fri, 9 Sep 2016 16:38:10 +0000 (06:38 -1000)
committerGitHub <noreply@github.com>
Fri, 9 Sep 2016 16:38:10 +0000 (06:38 -1000)
Exclude aiohttp from python < 3 setup

1  2 
setup.py

diff --cc setup.py
index 6ca61d6a020f8101ef5475bb7a9c9497349fce1a,a5840028b509f6151c745ab30b3f9cfebf436e48..c552a85955f178a36ecb4e0fbbac8a3d3b30e05e
+++ b/setup.py
@@@ -49,9 -49,13 +49,13 @@@ except Exception
              install_requires.extend(value)
  
  
+ excluded_packages = ["tests*"]
+ if sys.version_info[0] == 2:
+     excluded_packages.append("vcr.stubs.aiohttp_stubs")
+ 
  setup(
      name='vcrpy',
 -    version='1.9.0',
 +    version='1.10.0',
      description=(
          "Automatically mock your HTTP interactions to simplify and "
          "speed up testing"