Add more metadata. Use setuptools instead of distutils for install_requires and tests, the former of which I couldn't get to work anyway :-/

This commit is contained in:
Paul Makepeace 2011-04-28 15:48:42 +00:00
parent 461befef21
commit 98a1f5eb8e
1 changed files with 23 additions and 4 deletions

View File

@ -1,13 +1,32 @@
#!/usr/bin/env python
"""python setup.py install"""
from distutils.core import setup
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='refine-client-py',
version='0.1',
description='Google Refine Python Client',
version='0.1.0',
description=('The Google Refine Python Client Library provides an '
'interface to communicating with a Google Refine server.'),
long_description=read('README.rst'),
author='Paul Makepeace',
author_email='paulm@paulm.com',
url='https://github.com/PaulMakepeace/refine-client-py',
packages=[],
packages=['google.refine'],
# XXX how do I include test/data/*.csv in setup.py sdist but not install it?
#package_data={'': ['tests/data/*.csv']},
install_requires=[
#'MultipartPostHandler', # for urllib2_file
],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
test_suite='tests',
)