forked from photo/openphoto-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (25 loc) · 742 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
requires = ['oauth2', 'httplib2']
try:
import json
except ImportError:
requires.append('simplejson')
try:
from setuptools import setup
kw = {'entry_points':
"""[console_scripts]\nopenphoto = openphoto.main:main\n""",
'zip_safe': False,
'install_requires': requires
}
except ImportError:
from distutils.core import setup
kw = {'scripts': ['scripts/openphoto'],
'requires': requires}
setup(name='openphoto',
version='0.1',
description='Client library for the openphoto project',
author='James Walker',
author_email='[email protected]',
url='https://github.com/openphoto/openphoto-python',
packages=['openphoto'],
**kw
)