PP=PYTHONPATH=$(PYTHONPATH)
.PHONY: build
-build: build-pyfec build-Crypto
+build: build-zfec build-Crypto
$(PYTHON) setup.py $(EXTRA_SETUP_ARGS) install --install-lib="$(INSTDIR)" --install-scripts="$(INSTDIR)/scripts"
-build-pyfec:
- cd src/pyfec && $(PYTHON) ./setup.py $(EXTRA_SETUP_ARGS) install --install-lib="$(INSTDIR)" --install-scripts="$(INSTDIR)/scripts"
+build-zfec:
+ cd src/zfec && $(PYTHON) ./setup.py $(EXTRA_SETUP_ARGS) install --install-lib="$(INSTDIR)" --install-scripts="$(INSTDIR)/scripts"
-test-pyfec:
- $(PP) $(PYTHON) src/pyfec/fec/test/test_pyfec.py
+test-zfec:
+ $(PP) $(PYTHON) src/zfec/fec/test/test_zfec.py
-clean-pyfec:
- -cd src/pyfec && python ./setup.py clean ; /bin/rm -rf build
+clean-zfec:
+ -cd src/zfec && python ./setup.py clean ; /bin/rm -rf build
build-Crypto:
check-memory:
$(PP) $(PYTHON) src/allmydata/test/check_memory.py
-clean: clean-pyfec clean-Crypto
+clean: clean-zfec clean-Crypto
rm -rf build
rm -f debian
rm -rf instdir
src/Crypto/ which gets installed to the 'allmydata.Crypto' package (since the
API is different than the normal Crypto package). It also includes Zooko's
PyFEC library, a fast python wrapper around the Rizzo 'fec' C library,
-installed to the 'pyfec' package and located in src/pyfec/ .
+installed to the 'zfec' package and located in src/zfec/ .
DEPENDENCIES:
can then install.
If not, you'll need to run three separate install steps, one for each of the
- three subpackages (allmydata, allmydata.Crypto, and pyfec). You may wish to
+ three subpackages (allmydata, allmydata.Crypto, and zfec). You may wish to
use a different version of 'python' for these steps, or provide a --prefix
or --root argument for the install.
- cd src/pyfec && python setup.py install && cd ../..
+ cd src/zfec && python setup.py install && cd ../..
cd src/Crypto && python setup.py install && cd ../..
dh_clean -k
dh_installdirs
- cd src/pyfec && python2.4 setup.py install --prefix=$(PREFIX)
+ cd src/zfec && python2.4 setup.py install --prefix=$(PREFIX)
cd src/Crypto && python2.4 setup.py install --prefix=$(PREFIX)
python2.4 setup.py install --prefix=$(PREFIX)
install/allmydata-tahoe::
mkdir -pm755 $(STAGING_DIR)
- cd src/pyfec && python setup.py install --root=$(STAGING_DIR)
+ cd src/zfec && python setup.py install --root=$(STAGING_DIR)
cd src/Crypto && python setup.py install --root=$(STAGING_DIR)
python setup.py install --root=$(STAGING_DIR)
PREFIX=$(shell pwd)/debian/allmydata-tahoe/usr
build/allmydata-tahoe::
- cd src/pyfec && python2.4 setup.py install --prefix=$(PREFIX)
+ cd src/zfec && python2.4 setup.py install --prefix=$(PREFIX)
cd src/Crypto && python2.4 setup.py install --prefix=$(PREFIX)
python2.4 setup.py install --prefix=$(PREFIX)