Add Sonar configuration and add Docker-py lib dep in the setup file

pull/495/head
Nicolargo 2015-01-13 23:24:31 +01:00
parent 8d80a0e2da
commit 6e2c35f834
2 changed files with 21 additions and 0 deletions

View File

@ -70,6 +70,7 @@ setup(
'CHART': ['matplotlib'],
'BROWSER': ['zeroconf>=0.16', 'netifaces'],
'RAID': ['pymdstat'],
'DOCKER': ['docker-py'],
'EXPORT': ['influxdb', 'statsd'],
'ACTION': ['pystache']
},

20
sonar-project.properties Normal file
View File

@ -0,0 +1,20 @@
# Required metadata
sonar.projectKey=glances
sonar.projectName=Glances
sonar.projectVersion=2.3_beta
# Path to the parent source code directory.
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this property is optional if sonar.modules is set.
# If not set, SonarQube starts looking for source code from the directory containing
# the sonar-project.properties file.
sonar.sources=glances
# Language
sonar.language=py
# Encoding of the source code
sonar.sourceEncoding=UTF-8
# Additional parameters
#sonar.my.property=value