From 50f9d0b0abf07769e7f4a31331925fe770a30af7 Mon Sep 17 00:00:00 2001 From: James Walker Date: Mon, 23 Jan 2012 00:53:02 -0500 Subject: [PATCH] fix #4 - switch to setuptools/distribute so oauth2 installs --- .gitignore | 3 +++ setup.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 27ffc2f..8f8a3ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ *.pyc build +dist +*.egg-info + diff --git a/setup.py b/setup.py index 18505ff..e26c1f4 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from distutils.core import setup +from setuptools import setup setup(name='openphoto', version='0.1', @@ -6,7 +6,7 @@ setup(name='openphoto', author='James Walker', author_email='walkah@walkah.net', url='https://github.com/openphoto/openphoto-python', - requires=['oauth2'], packages=['openphoto'], + install_requires=['oauth2'], scripts=['scripts/openphoto'], )