Skip to content

Commit 7ae17e9

Browse files
committed
Cleanup
1 parent c5658c7 commit 7ae17e9

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

libarchive/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ CFLAGS = -g
22
INCLUDE = -I/usr/local/include -I/usr/include -I.
33
LIBS = -L /usr/local/lib -larchive
44

5-
#DEFINES = -DPyUnicode_AS_STRING=PyUnicode_AS_DATA
65
PYVER ?= 3.9
76

87
all: __libarchive.so
@@ -11,7 +10,7 @@ _libarchive_wrap.c: _libarchive.i
1110
swig -python -Wall -shadow _libarchive.i
1211

1312
_libarchive_wrap.o: _libarchive_wrap.c
14-
${CC} -c ${CFLAGS} -fPIC $$(python${PYVER}-config --cflags) ${DEFINES} _libarchive_wrap.c
13+
${CC} -c ${CFLAGS} -fPIC $$(python${PYVER}-config --cflags) _libarchive_wrap.c
1514

1615
__libarchive.so: _libarchive_wrap.o
1716
${CC} _libarchive_wrap.o -shared $$(python${PYVER}-config --ldflags) -Wl,-soname=__libarchive.so -o __libarchive.so ${LIBS}

libarchive/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ class Entry(object):
307307

308308
def __init__(self, pathname=None, size=None, mtime=None, mode=None, hpos=None, encoding=ENCODING):
309309

310-
# , symlink=None
311310
self.pathname = pathname
312311
self.size = size
313312
self.mtime = mtime

0 commit comments

Comments
 (0)