Updated metadata
This commit is contained in:
parent
a8bde4a438
commit
40410d08e2
1 changed files with 26 additions and 4 deletions
30
setup.py
30
setup.py
|
@ -1,13 +1,21 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
import sys
|
||||||
import openphoto
|
import openphoto
|
||||||
|
|
||||||
requires = ['requests', 'requests_oauthlib']
|
requires = ['requests', 'requests_oauthlib']
|
||||||
|
|
||||||
|
console_script = """[console_scripts]
|
||||||
|
openphoto = openphoto.main:main
|
||||||
|
"""
|
||||||
|
# Check the Python version
|
||||||
|
(major, minor) = sys.version_info[:2]
|
||||||
|
if (major, minor) < (2, 6):
|
||||||
|
raise SystemExit("Sorry, Python 2.6 or newer required")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
kw = {'entry_points':
|
kw = {'entry_points': console_script,
|
||||||
"""[console_scripts]\nopenphoto = openphoto.main:main\n""",
|
'zip_safe': True,
|
||||||
'zip_safe': False,
|
|
||||||
'install_requires': requires
|
'install_requires': requires
|
||||||
}
|
}
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
@ -17,9 +25,23 @@ except ImportError:
|
||||||
|
|
||||||
setup(name='openphoto',
|
setup(name='openphoto',
|
||||||
version=openphoto.__version__,
|
version=openphoto.__version__,
|
||||||
description='Python client library for Trovebox/Openphoto',
|
description='The official Python client library for Trovebox/OpenPhoto',
|
||||||
|
long_description=('This library works with any OpenPhoto server '
|
||||||
|
'(including the trovebox.com hosted service).\n'
|
||||||
|
'It provides full access to your photos and metadata, '
|
||||||
|
'via a simple Pythonic API.'),
|
||||||
author='Pete Burgers, James Walker',
|
author='Pete Burgers, James Walker',
|
||||||
url='https://github.com/openphoto/openphoto-python',
|
url='https://github.com/openphoto/openphoto-python',
|
||||||
packages=['openphoto'],
|
packages=['openphoto'],
|
||||||
|
classifiers=['Development Status :: 4 - Beta',
|
||||||
|
'Intended Audience :: Developers',
|
||||||
|
'License :: OSI Approved :: Apache Software License',
|
||||||
|
'Operating System :: OS Independent',
|
||||||
|
'Programming Language :: Python',
|
||||||
|
'Topic :: Multimedia :: Graphics',
|
||||||
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
|
],
|
||||||
|
license='LICENSE',
|
||||||
|
test_suite='tests.unit',
|
||||||
**kw
|
**kw
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue