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:
parent
461befef21
commit
98a1f5eb8e
27
setup.py
27
setup.py
|
@ -1,13 +1,32 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
"""python setup.py install"""
|
"""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',
|
setup(name='refine-client-py',
|
||||||
version='0.1',
|
version='0.1.0',
|
||||||
description='Google Refine Python Client',
|
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='Paul Makepeace',
|
||||||
author_email='paulm@paulm.com',
|
author_email='paulm@paulm.com',
|
||||||
url='https://github.com/PaulMakepeace/refine-client-py',
|
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',
|
||||||
)
|
)
|
Loading…
Reference in New Issue