Fall back to distutils. All platforms info & another classifier

This commit is contained in:
Paul Makepeace 2011-04-28 16:39:16 +00:00
parent c412ef4e27
commit e771a0ed53
1 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,10 @@
"""python setup.py install""" """python setup.py install"""
import os import os
from setuptools import setup try:
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()
@ -20,9 +23,11 @@ setup(name='refine-client-py',
#package_data={'': ['tests/data/*.csv']}, #package_data={'': ['tests/data/*.csv']},
install_requires=[ install_requires=[
#'MultipartPostHandler', # for urllib2_file #'MultipartPostHandler', # for urllib2_file
], ],
platforms=['Any'],
classifiers = [ classifiers = [
'Development Status :: 3 - Alpha', 'Development Status :: 3 - Alpha',
'Environment :: Library',
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python', 'Programming Language :: Python',