Skip to content
This repository was archived by the owner on Apr 23, 2022. It is now read-only.

Commit 939a45b

Browse files
committed
messing with lzma and debug output
1 parent 72c3e4d commit 939a45b

File tree

6 files changed

+24
-5
lines changed

6 files changed

+24
-5
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ install:
2828
- gcc -v
2929
#- docker pull $DOCKER_IMAGE
3030
- pip freeze
31-
- make install
3231

3332
script:
34-
- make lint
3533
- make test
34+
- make lint
3635
- ./tests/check_tag.py
3736
# TODO manylinux is currently broken as gcc-5 isn't available on centos 5
3837
#- docker run --rm -v `pwd`:/io $DOCKER_IMAGE /io/tests/build-wheels.sh

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ lint:
2424
pytest xdelta3 -p no:sugar -q
2525

2626
.PHONY: test
27-
test: prepare
27+
test: install
2828
pytest --cov=xdelta3
2929

3030
.PHONY: quickbuild

build_cli.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
# build xdelta3 command line tool in the submodule directory, requires automake and libtool
3+
set -e
4+
set -x
5+
6+
cd xdelta/xdelta3
7+
git clean -fX
8+
libtoolize
9+
aclocal
10+
autoconf
11+
autoheader
12+
automake --add-missing
13+
./configure
14+
make
15+
cd ../..

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,15 @@
3232
'_xdelta3',
3333
sources=['xdelta3/_xdelta3.c'],
3434
include_dirs=['./xdelta3/lib'],
35+
# use with SECONDARY_LZMA to enabled secondary compression with lzma
36+
# libraries=['lzma'],
3537
define_macros=[
3638
('SIZEOF_SIZE_T', '8'),
3739
('SIZEOF_UNSIGNED_LONG_LONG', '8'),
3840
('XD3_USE_LARGEFILE64', '1'),
41+
# ('SECONDARY_LZMA', '1'),
42+
# adds verbose debug output to xdelta3
43+
# ('XD3_DEBUG', '3'),
3944
]
4045
)
4146
],

xdelta3/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__all__ = ['VERSION']
44

5-
VERSION = StrictVersion('0.0.5')
5+
VERSION = StrictVersion('0.0.6a1')

0 commit comments

Comments
 (0)