CHECK_PYWIN32_DEP :=
endif
-TRIALCMD = $(shell PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SRCPATH)" $(PYTHON) misc/find_trial.py)
-
ifeq ($(PLAT),cygwin)
REACTOR = poll
endif
REACTOROPT :=
endif
-TRIAL=PYTHONUNBUFFERED=1 $(TRIALCMD) --rterrors $(REACTOROPT)
-
# The following target is here because I don't know how to tell the buildmaster
# to start instructing his slaves to "build" instead of instructing them to
# "build-deps". --Z
endif
PP=PYTHONPATH="$(SRCPATH)$(PATHSEP)$(PYTHONPATH)$(PATHSEP)$(EGGSPATH)"
+TRIALCMD = $(shell $(PP) $(PYTHON) misc/find_trial.py)
+TRIAL=PYTHONUNBUFFERED=1 $(TRIALCMD) --rterrors $(REACTOROPT)
+
.PHONY: make-version build
# The 'darcsver' setup.py command comes in the 'darcsver' package:
# that this is itself a source distribution.
# http://pypi.python.org/pypi/setuptools_darcs
if not os.path.exists('PKG-INFO'):
- setup_requires.append('setuptools_darcs >= 1.0.5')
+ setup_requires.append('setuptools_darcs >= 1.1.0')
install_requires=["zfec >= 1.3.0",
"foolscap >= 0.2.3",
hush_pyflakes = __version__
del hush_pyflakes
+try:
+ import pkg_resources
+except ImportError:
+ # nevermind
+ pass
+else:
+ pkg_resources.require("zfec >= 1.3.0")
+ pkg_resources.require("foolscap >= 0.2.3")
+ pkg_resources.require("simplejson >= 1.7.3")
+ pkg_resources.require("pycryptopp >= 0.2.9")
+ pkg_resources.require("nevow >= 0.6.0")
+ pkg_resources.require("zope.interface >= 3.1.0")
+
def get_package_versions():
import OpenSSL, allmydata, foolscap, nevow, pycryptopp, simplejson, twisted, zfec
setuptools_version = "unavailable"