try use distribute always, update version
This commit is contained in:
parent
85118e9019
commit
814c6c70f1
|
@ -46,7 +46,7 @@ except ImportError:
|
||||||
args = [quote(arg) for arg in args]
|
args = [quote(arg) for arg in args]
|
||||||
return os.spawnl(os.P_WAIT, sys.executable, *args) == 0
|
return os.spawnl(os.P_WAIT, sys.executable, *args) == 0
|
||||||
|
|
||||||
DEFAULT_VERSION = "0.6.14"
|
DEFAULT_VERSION = "0.6.19"
|
||||||
DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/"
|
DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/"
|
||||||
SETUPTOOLS_FAKED_VERSION = "0.6c11"
|
SETUPTOOLS_FAKED_VERSION = "0.6c11"
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,8 +2,6 @@ import os, sys
|
||||||
try:
|
try:
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
except ImportError:
|
except ImportError:
|
||||||
if sys.version_info < (3,0):
|
|
||||||
raise
|
|
||||||
from distribute_setup import use_setuptools
|
from distribute_setup import use_setuptools
|
||||||
use_setuptools()
|
use_setuptools()
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
Loading…
Reference in New Issue