mirror of
https://github.com/Bryanthelol/namekoplus
synced 2025-09-14 01:36:02 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
68b8eb6c3b | |||
2c58ffd698 |
@@ -324,6 +324,9 @@ def metric_config_gen(module, class_name_str):
|
|||||||
import sys
|
import sys
|
||||||
from statsd.client.timer import Timer
|
from statsd.client.timer import Timer
|
||||||
sys.path.append(os.getcwd())
|
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
|
# Extract information of statsd config from the class of nameko service
|
||||||
file_name = module.split('.')[-1]
|
file_name = module.split('.')[-1]
|
||||||
|
3
setup.py
3
setup.py
@@ -9,7 +9,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='namekoplus',
|
name='namekoplus',
|
||||||
version='0.4.7',
|
version='0.4.9',
|
||||||
description='A lightweight Python distributed microservice solution',
|
description='A lightweight Python distributed microservice solution',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
@@ -63,6 +63,7 @@ setup(
|
|||||||
'ob': ['statsd==4.0.1',
|
'ob': ['statsd==4.0.1',
|
||||||
'nameko-sentry==1.0.0',
|
'nameko-sentry==1.0.0',
|
||||||
'nameko-tracer==1.4.0'],
|
'nameko-tracer==1.4.0'],
|
||||||
|
'schema': ['marshmallow==3.20.1'],
|
||||||
'security': ['cryptography'],
|
'security': ['cryptography'],
|
||||||
'dev': ['environs==9.5.0']
|
'dev': ['environs==9.5.0']
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user