Skip to content

Commit 7fd369c

Browse files
committed
setup.py works now, and binary python module can now be loaded as well.
1 parent 8ae4e95 commit 7fd369c

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

gitdb/_delta_apply.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ DeltaInfo* DIV_closest_chunk(const DeltaInfoVector* vec, ull ofs)
506506
// Return the amount of chunks a slice at the given spot would have, as well as
507507
// its size in bytes it would have if the possibly partial chunks would be encoded
508508
// and added to the spot marked by sdc
509-
inline
510509
uint DIV_count_slice_bytes(const DeltaInfoVector* src, uint ofs, uint size)
511510
{
512511
uint num_bytes = 0;
@@ -559,7 +558,6 @@ uint DIV_count_slice_bytes(const DeltaInfoVector* src, uint ofs, uint size)
559558
// destination memory. The individual chunks written will be a byte copy of the source
560559
// data chunk stream
561560
// Return: number of chunks in the slice
562-
inline
563561
uint DIV_copy_slice_to(const DeltaInfoVector* src, uchar** dest, ull tofs, uint size)
564562
{
565563
assert(DIV_lbound(src) <= tofs);

gitdb/fun.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,6 @@ def is_equal_canonical_sha(canonical_length, match, sha1):
758758

759759

760760
try:
761-
# NOQA
762761
from _perf import connect_deltas
763762
except ImportError:
764763
pass

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ def get_data_files(self):
8383
author = __author__,
8484
author_email = __contact__,
8585
url = __homepage__,
86-
packages = ('gitdb', 'gitdb.db'),
86+
packages = ('gitdb', 'gitdb.db', 'gitdb.utils'),
8787
package_dir = {'gitdb':'gitdb'},
8888
ext_modules=[Extension('gitdb._perf', ['gitdb/_fun.c', 'gitdb/_delta_apply.c'], include_dirs=['gitdb'])],
8989
license = "BSD License",
9090
zip_safe=False,
91-
requires=('smmap (>=0.8.3)'),
91+
requires=('smmap (>=0.8.3)', ),
9292
install_requires=('smmap >= 0.8.0'),
9393
long_description = """GitDB is a pure-Python git object database""",
9494
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers

0 commit comments

Comments
 (0)