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

Commit

Permalink
messing with lzma and debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jul 22, 2017
1 parent 72c3e4d commit 939a45b
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ install:
- gcc -v
#- docker pull $DOCKER_IMAGE
- pip freeze
- make install

script:
- make lint
- make test
- make lint
- ./tests/check_tag.py
# TODO manylinux is currently broken as gcc-5 isn't available on centos 5
#- docker run --rm -v `pwd`:/io $DOCKER_IMAGE /io/tests/build-wheels.sh
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ lint:
pytest xdelta3 -p no:sugar -q

.PHONY: test
test: prepare
test: install
pytest --cov=xdelta3

.PHONY: quickbuild
Expand Down
15 changes: 15 additions & 0 deletions build_cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# build xdelta3 command line tool in the submodule directory, requires automake and libtool
set -e
set -x

cd xdelta/xdelta3
git clean -fX
libtoolize
aclocal
autoconf
autoheader
automake --add-missing
./configure
make
cd ../..
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,15 @@
'_xdelta3',
sources=['xdelta3/_xdelta3.c'],
include_dirs=['./xdelta3/lib'],
# use with SECONDARY_LZMA to enabled secondary compression with lzma
# libraries=['lzma'],
define_macros=[
('SIZEOF_SIZE_T', '8'),
('SIZEOF_UNSIGNED_LONG_LONG', '8'),
('XD3_USE_LARGEFILE64', '1'),
# ('SECONDARY_LZMA', '1'),
# adds verbose debug output to xdelta3
# ('XD3_DEBUG', '3'),
]
)
],
Expand Down
2 changes: 1 addition & 1 deletion xdelta
2 changes: 1 addition & 1 deletion xdelta3/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__all__ = ['VERSION']

VERSION = StrictVersion('0.0.5')
VERSION = StrictVersion('0.0.6a1')

0 comments on commit 939a45b

Please sign in to comment.