mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 11:24:25 +00:00
rename "pyfec" to "zfec" within tahoe build system and source code
This commit is contained in:
parent
85b36e348b
commit
09758871ce
16
GNUmakefile
16
GNUmakefile
@ -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
6
README
@ -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 ../..
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user