mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
setup: require setuptools >= v0.6c8
This commit is contained in:
parent
3e4b3f49b7
commit
d7cf033049
@ -14,12 +14,12 @@ the appropriate options to ``use_setuptools()``.
|
||||
This file can also be run as a script to install or upgrade setuptools.
|
||||
"""
|
||||
import os, sys
|
||||
DEFAULT_VERSION = "0.6c7"
|
||||
DEFAULT_VERSION = "0.6c8"
|
||||
DEFAULT_DIR = "misc/dependencies/"
|
||||
DEFAULT_URL = "file:"+DEFAULT_DIR
|
||||
|
||||
md5_data = {
|
||||
'setuptools-0.6c7.egg': 'bd04f1074b86a1b35618cb2b96b38ffa',
|
||||
'setuptools-0.6c8.egg': '0f52a78daffb0efaa02e870bbbbca2fe',
|
||||
}
|
||||
|
||||
import sys, os
|
||||
|
13
setup.py
13
setup.py
@ -15,11 +15,14 @@ try:
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
# On cygwin there was a permissions error that was fixed in 0.6c6. (Also
|
||||
# foolscap uses a module-level os.urandom() during import, which breaks
|
||||
# inside older setuptools' sandboxing. 0.6c4 is the first version which
|
||||
# fixed this problem.)
|
||||
use_setuptools(min_version='0.6c6')
|
||||
# This invokes our own customized version of ez_setup.py to make sure that
|
||||
# setuptools >= v0.6c8 (a.k.a. v0.6-final) is installed.
|
||||
|
||||
# setuptools < v0.6c8 doesn't handle eggs which get installed into the CWD
|
||||
# as a result of being transitively depended on in a setup_requires, but
|
||||
# then are needed for the installed code to run, i.e. in an
|
||||
# install_requires.
|
||||
use_setuptools(download_delay=0, min_version="0.6c8")
|
||||
|
||||
from setuptools import Extension, find_packages, setup
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user