From a0681295ca9fdd05573061f62f8cd40b493ea45d Mon Sep 17 00:00:00 2001 From: Lenucksi Date: Thu, 4 Jun 2015 17:23:14 +0200 Subject: [PATCH] Fix build with recent Python versions --- .gitignore | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4aac38c..f4dee59 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,5 @@ pip-log.txt *.pid *.egg-info* dist/* -_build/* \ No newline at end of file +_build/* +build/* diff --git a/setup.py b/setup.py index 522bd58..f46a025 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ try: readme_content = open(os.path.join(os.path.abspath( os.path.dirname(__file__)), "README.rst")).read() -except Exception, e: +except Exception as e: print(e) readme_content = __doc__