fix: update command metric-config-gen
This commit is contained in:
parent
2c58ffd698
commit
68b8eb6c3b
|
@ -324,6 +324,9 @@ def metric_config_gen(module, class_name_str):
|
|||
import sys
|
||||
from statsd.client.timer import Timer
|
||||
sys.path.append(os.getcwd())
|
||||
for root, dirs, files in os.walk(os.getcwd()):
|
||||
for _dir in dirs:
|
||||
sys.path.append(os.path.join(root, _dir))
|
||||
|
||||
# Extract information of statsd config from the class of nameko service
|
||||
file_name = module.split('.')[-1]
|
||||
|
|
2
setup.py
2
setup.py
|
@ -9,7 +9,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
|||
|
||||
setup(
|
||||
name='namekoplus',
|
||||
version='0.4.8',
|
||||
version='0.4.9',
|
||||
description='A lightweight Python distributed microservice solution',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
|
|
Loading…
Reference in New Issue