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
84
setup.py
84
setup.py
|
@ -1,37 +1,47 @@
|
|||
#!/usr/bin/env python
|
||||
"""python setup.py install"""
|
||||
|
||||
import os
|
||||
try:
|
||||
from setuptools.core import setup
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
def read(fname):
|
||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||
|
||||
setup(name='refine-client-py',
|
||||
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=['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
|
||||
],
|
||||
platforms=['Any'],
|
||||
classifiers = [
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Environment :: Library',
|
||||
'Intended Audience :: Developers',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
test_suite='tests',
|
||||
)
|
||||
#!/usr/bin/env python
|
||||
"""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
|
||||
from setuptools import setup
|
||||
|
||||
def read(fname):
|
||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||
|
||||
setup(name='refine-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=['google.refine'],
|
||||
install_requires=['urllib2_file'],
|
||||
platforms=['Any'],
|
||||
classifiers = [
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Environment :: Library',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: GNU General Public License (GPL)',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
'Topic :: Text Processing',
|
||||
],
|
||||
test_suite='tests',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue