Skip to content

Commit 0d61880

Browse files
committed
Move groupcache-wrapper to pygroupcache module
1 parent fa88b33 commit 0d61880

File tree

11 files changed

+4
-4
lines changed

11 files changed

+4
-4
lines changed

pygroupcache/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
from .groupcache import get, set, setup, initialized
33

4-
__version__ = "1.0.0"
4+
__version__ = "1.0.1"
55
__all__ = [
66
"get",
77
"set",

groupcache-wrapper/Makefile renamed to pygroupcache/groupcache-wrapper/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
GROUPCACHE_GIT_HASH := $(shell cd ../groupcache && git rev-parse --short HEAD)
2+
GROUPCACHE_GIT_HASH := $(shell cd ../../groupcache && git rev-parse --short HEAD)
33

44
.PHONY: help
55
help: ### Display this help screen.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pygroupcache/groupcache.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
from typing import Union
55

6-
root_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
6+
root_path = os.path.dirname(os.path.abspath(__file__))
77
lib = ctypes.cdll.LoadLibrary(os.path.join(root_path, "libs/groupcache.so"))
88

99
gget = lib.cache_get
File renamed without changes.
File renamed without changes.
File renamed without changes.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setup(
1717
name='pygroupcache',
18-
version='1.0.0',
18+
version='1.0.1',
1919
description='A Python binding for groupcache',
2020
long_description=README,
2121
author='Adam Zhou',

0 commit comments

Comments
 (0)