Fall back to distutils. All platforms info & another classifier
This commit is contained in:
parent
c412ef4e27
commit
e771a0ed53
7
setup.py
7
setup.py
|
@ -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()
|
||||||
|
@ -21,8 +24,10 @@ setup(name='refine-client-py',
|
||||||
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',
|
||||||
|
|
Loading…
Reference in New Issue