mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 19:26:44 +00:00
setup: require new bundled setuptools-0.6c12dev
This commit is contained in:
parent
4d785cfe30
commit
9ce226b4d8
@ -14,12 +14,12 @@ the appropriate options to ``use_setuptools()``.
|
|||||||
This file can also be run as a script to install or upgrade setuptools.
|
This file can also be run as a script to install or upgrade setuptools.
|
||||||
"""
|
"""
|
||||||
import os, sys
|
import os, sys
|
||||||
DEFAULT_VERSION = "0.6c11dev"
|
DEFAULT_VERSION = "0.6c12dev"
|
||||||
DEFAULT_DIR = "misc/dependencies/"
|
DEFAULT_DIR = "misc/dependencies/"
|
||||||
DEFAULT_URL = "file:"+DEFAULT_DIR
|
DEFAULT_URL = "file:"+DEFAULT_DIR
|
||||||
|
|
||||||
md5_data = {
|
md5_data = {
|
||||||
'setuptools-0.6c11dev.egg': '9734e821d3388af78fceecb264b3e854',
|
'setuptools-0.6c12dev.egg': '770da1c9e5446cf04273f0f1cdb8c09a',
|
||||||
}
|
}
|
||||||
|
|
||||||
import sys, os
|
import sys, os
|
||||||
@ -39,7 +39,7 @@ def _validate_md5(egg_name, data):
|
|||||||
|
|
||||||
def use_setuptools(
|
def use_setuptools(
|
||||||
version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir,
|
version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir,
|
||||||
min_version="0.6c11dev", download_delay=15
|
min_version="0.6c12dev", download_delay=15
|
||||||
):
|
):
|
||||||
"""Automatically find/download setuptools and make it available on sys.path
|
"""Automatically find/download setuptools and make it available on sys.path
|
||||||
|
|
||||||
|
4
setup.py
4
setup.py
@ -28,11 +28,11 @@ except ImportError:
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
# This invokes our own customized version of ez_setup.py to make sure that setuptools
|
# This invokes our own customized version of ez_setup.py to make sure that setuptools
|
||||||
# v0.6c11dev (which is our own toothpick of setuptools) is used to build. Note that we can
|
# v0.6c12dev (which is our own toothpick of setuptools) is used to build. Note that we can
|
||||||
# use any version of setuptools >= 0.6c6 to *run* -- see _auto_deps.py for run-time
|
# use any version of setuptools >= 0.6c6 to *run* -- see _auto_deps.py for run-time
|
||||||
# dependencies (a.k.a. "install_requires") -- this is only for build-time dependencies
|
# dependencies (a.k.a. "install_requires") -- this is only for build-time dependencies
|
||||||
# (a.k.a. "setup_requires").
|
# (a.k.a. "setup_requires").
|
||||||
use_setuptools(download_delay=0, min_version="0.6c11dev")
|
use_setuptools(download_delay=0, min_version="0.6c12dev")
|
||||||
|
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
from setuptools.command import sdist
|
from setuptools.command import sdist
|
||||||
|
Loading…
Reference in New Issue
Block a user