Update setup.py
Copied setup import from Python-Requests so it does not fail on some platforms (e.g. Nokia N9/MeeGo).
This commit is contained in:
parent
2ae270fcdf
commit
5ff6db186e
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -3,7 +3,10 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from setuptools import setup
|
try:
|
||||||
|
from setuptools import setup
|
||||||
|
except ImportError:
|
||||||
|
from distutils.core import setup
|
||||||
|
|
||||||
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
|
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
|
||||||
__version__ = '3.1.0'
|
__version__ = '3.1.0'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue