rename "pyfec" to "zfec" within tahoe build system and source code

This commit is contained in:
Zooko O'Whielacronx 2007-04-18 10:11:23 -07:00
parent 85b36e348b
commit 09758871ce
5 changed files with 14 additions and 14 deletions

View File

@ -44,17 +44,17 @@ show-instdir:
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:
@ -124,7 +124,7 @@ count-lines:
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

6
README
View File

@ -11,7 +11,7 @@ The main application code is in the 'allmydata' package, under src/allmydata/
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:
@ -57,11 +57,11 @@ INSTALLING:
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 ../..

View File

@ -33,7 +33,7 @@ install: build
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)

View File

@ -11,7 +11,7 @@ STAGING_DIR=$(CURDIR)/debian/allmydata-tahoe
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)

View File

@ -10,7 +10,7 @@ include /usr/share/cdbs/1/class/python-distutils.mk
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)