Remove distutils in favor of setuptools. Rename project to refine-client. Add urllib2_file to install_requires after I got author to upload it, w00t. Add GPL license. Add Text Processing classifier
This commit is contained in:
parent
de96dca762
commit
48a738ba00
30
setup.py
30
setup.py
|
@ -1,16 +1,28 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
"""python setup.py install"""
|
"""python setup.py install"""
|
||||||
|
|
||||||
|
# Copyright (c) 2011 Paul Makepeace, Real Programmers. All rights reserved.
|
||||||
|
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
|
||||||
import os
|
import os
|
||||||
try:
|
from setuptools import setup
|
||||||
from setuptools.core import setup
|
|
||||||
except ImportError:
|
|
||||||
from distutils.core import setup
|
|
||||||
|
|
||||||
def read(fname):
|
def read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
|
|
||||||
setup(name='refine-client-py',
|
setup(name='refine-client',
|
||||||
version='0.1.0',
|
version='0.1.0',
|
||||||
description=('The Google Refine Python Client Library provides an '
|
description=('The Google Refine Python Client Library provides an '
|
||||||
'interface to communicating with a Google Refine server.'),
|
'interface to communicating with a Google Refine server.'),
|
||||||
|
@ -19,19 +31,17 @@ setup(name='refine-client-py',
|
||||||
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=['google.refine'],
|
packages=['google.refine'],
|
||||||
# XXX how do I include test/data/*.csv in setup.py sdist but not install it?
|
install_requires=['urllib2_file'],
|
||||||
#package_data={'': ['tests/data/*.csv']},
|
|
||||||
install_requires=[
|
|
||||||
#'MultipartPostHandler', # for urllib2_file
|
|
||||||
],
|
|
||||||
platforms=['Any'],
|
platforms=['Any'],
|
||||||
classifiers = [
|
classifiers = [
|
||||||
'Development Status :: 3 - Alpha',
|
'Development Status :: 3 - Alpha',
|
||||||
'Environment :: Library',
|
'Environment :: Library',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
||||||
'Operating System :: OS Independent',
|
'Operating System :: OS Independent',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
|
'Topic :: Text Processing',
|
||||||
],
|
],
|
||||||
test_suite='tests',
|
test_suite='tests',
|
||||||
)
|
)
|
Loading…
Reference in New Issue