mirror of
				https://github.com/Bryanthelol/namekoplus
				synced 2025-11-04 21:37:36 +08:00 
			
		
		
		
	fix: update command metric-config-gen
This commit is contained in:
		@@ -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',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user