^setuptools-.*.egg$
# creating a tahoe egg puts files here
^allmydata_tahoe.egg-info
+# the 'build-deps' commands results in this directory:
+^tahoe_deps.egg-info
# generated crypto extension modules
^src/allmydata/Crypto/[^/]*/.*\.so$
TRIAL=$(PYTHON) -u "$(TRIALPATH)" --rterrors $(REACTOROPT)
-build-deps:
+build-deps: build
mkdir -p "$(SUPPORTLIB)"
- PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SUPPORTLIB)" $(PYTHON) setup.py install \
+ PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SUPPORTLIB)$(PATHSEP)." \
+ $(PYTHON) misc/dependencies/build-deps-setup.py install \
--prefix="$(SUPPORT)"
EGGSPATH = $(shell $(PYTHON) misc/find-dep-eggs.py)
build: make-version
$(PYTHON) ./setup.py build_ext -i
+ chmod +x bin/allmydata-tahoe
# 'make install' will do the following:
# build+install tahoe (probably to /usr/lib/pythonN.N/site-packages)
-
-# 'make install PREFIX=/usr/local/stow/tahoe-N.N' will do the following:
-# build+install tahoe to the given PREFIX
+# 'make install PREFIX=/usr/local/stow/tahoe-N.N' will do the same, but to
+# a different location
install: make-version
ifdef PREFIX
rm -rf build
rm -f debian
rm -f `find src/allmydata -name '*.so' -or -name '*.pyc'`
- rm -rf allmydata_tahoe.egg-info
+ rm -rf tahoe_deps.egg-info allmydata_tahoe.egg-info
rm -rf support
- rm -rf setuptools*.egg
- rm -f ez_setup.pyc
+ rm -rf setuptools*.egg ez_setup.pyc
--- /dev/null
+#! /usr/bin/python
+
+from setuptools import setup
+
+setup(name='tahoe-deps',
+ version="1",
+ install_requires=["zfec >= 1.0.3",
+ "foolscap >= 0.1.6", "simplejson >= 1.4",
+ #"nevow", # we need nevow, but it doesn't seem to be
+ # installable by easy_install
+ ],
+ )