Module Import alias Import alias ImportFrom alias Import alias FunctionDef arguments args defaults body If Call NameLoad NameLoad Str body Return NameLoad orelse If CompareNotEq AttributeLoad NameLoad attr Call NameLoad NameLoad Str AttributeLoad NameLoad attr body Return NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Return NameLoad Return NameLoad decorator_list If Call AttributeLoad AttributeLoad NameLoad attr attr Str body ImportFrom alias Assign NameStore Call NameLoad keyword Num orelse ImportFrom alias Assign NameStore Call NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore ListLoad TupleLoad NameLoad ListLoad Str Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ListLoad TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call NameLoad Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call NameLoad Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call NameLoad Str Assign NameStore TupleLoad ListLoad Str Str orelse Assign NameStore ListLoad TupleLoad Str ListLoad Str Str TupleLoad Str ListLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr Str Index Num If Call NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Str If CompareIn NameLoad ListLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Str If BoolOpAnd CompareGtE NameLoad Num UnaryOpNot CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Str orelse If BoolOpAnd CompareGtE NameLoad Num UnaryOpNot CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Str If Call NameLoad body Assign NameStore ListLoad Str Str orelse If CompareEq NameLoad ListLoad Str Str body Assign NameStore ListLoad Str Str orelse Assign NameStore ListLoad Str Str FunctionDef arguments args defaults body Expr Str TryExcept body Assign NameStore Call NameLoad Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad Str attr Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Global identifier If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareEq NameLoad Str body Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad NameLoad NameLoad decorator_list If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str orelse Expr Call NameLoad Str Str Assign NameStore Call NameLoad Expr Call NameLoad keyword Str keyword NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Dict Str Str keyword ListLoad Str Str Str keyword ListLoad Str Str keyword NameLoad keyword NameLoad NameLoad
N/A N/A sys N/A os glob glob N/A platform running_under_virtualenv N/A N/A N/A N/A N/A N/A hasattr sys real_prefix N/A N/A True N/A N/A N/A N/A sys prefix N/A getattr sys base_prefix N/A sys prefix N/A N/A True N/A N/A N/A os getenv VIRTUAL_ENV False N/A N/A True N/A False N/A N/A N/A N/A N/A os environ get USE_SETUPTOOLS N/A setuptools setup N/A setup_kwargs N/A dict zip_safe 0 N/A distutils.core setup N/A setup_kwargs N/A dict N/A N/A N/A os name nt N/A N/A pgm_files N/A N/A os environ N/A ProgramFiles N/A base_files N/A N/A N/A os path join pgm_files diamond N/A data_files N/A N/A base_files N/A LICENSE version.txt N/A N/A N/A N/A os path join base_files user_scripts N/A N/A N/A N/A N/A os path join base_files conf N/A glob conf/*.conf.* N/A N/A N/A N/A os path join base_files collectors N/A glob conf/collectors/* N/A N/A N/A N/A os path join base_files handlers N/A glob conf/handlers/* N/A install_requires N/A N/A configobj psutil N/A N/A data_files N/A N/A share/diamond N/A LICENSE version.txt N/A share/diamond/user_scripts N/A N/A distro N/A N/A N/A platform dist N/A 0 N/A distro_major_version N/A N/A N/A N/A N/A N/A platform dist N/A 1 split . N/A 0 N/A N/A running_under_virtualenv N/A N/A N/A N/A data_files append N/A etc/diamond N/A glob conf/*.conf.* N/A N/A N/A data_files append N/A etc/diamond/collectors N/A glob conf/collectors/* N/A N/A N/A data_files append N/A etc/diamond/handlers N/A glob conf/handlers/* N/A N/A N/A N/A data_files append N/A /etc/diamond N/A glob conf/*.conf.* N/A N/A N/A data_files append N/A /etc/diamond/collectors N/A glob conf/collectors/* N/A N/A N/A data_files append N/A /etc/diamond/handlers N/A glob conf/handlers/* N/A N/A distro Ubuntu N/A N/A N/A N/A data_files append N/A /etc/init N/A debian/diamond.upstart N/A N/A distro N/A centos redhat debian fedora N/A N/A N/A N/A data_files append N/A /etc/init.d N/A bin/init.d/diamond N/A N/A N/A data_files append N/A /var/log/diamond N/A .keep N/A N/A N/A distro_major_version 7 N/A N/A distro debian N/A N/A N/A N/A data_files append N/A /usr/lib/systemd/system N/A rpm/systemd/diamond.service N/A N/A N/A N/A distro_major_version 6 N/A N/A distro debian N/A N/A N/A N/A data_files append N/A /etc/init N/A rpm/upstart/diamond.conf N/A N/A running_under_virtualenv N/A N/A install_requires N/A configobj psutil N/A N/A N/A distro N/A debian ubuntu N/A N/A install_requires N/A python-configobj python-psutil N/A N/A install_requires N/A configobj psutil get_version N/A N/A N/A N/A N/A 
        Read the version.txt file to get the new version string
        Generate it if version.txt is not available. Generation
        is required for pip installs
     N/A N/A N/A f N/A open version.txt N/A N/A N/A IOError N/A N/A N/A N/A os system ./version.sh > version.txt N/A f N/A open version.txt N/A version N/A N/A N/A N/A join N/A N/A f readlines rstrip N/A N/A N/A f close N/A version N/A pkgPath N/A N/A root path rpath N/A / N/A N/A 
        Package up a path recursively
     N/A data_files N/A N/A N/A N/A N/A os path exists path N/A N/A N/A files N/A N/A spath N/A N/A os listdir path N/A N/A N/A spath test N/A N/A N/A subpath N/A N/A N/A os path join path spath N/A spath N/A N/A N/A os path join rpath spath N/A N/A N/A N/A os path isfile subpath N/A N/A N/A N/A files append subpath N/A N/A N/A N/A os path isdir subpath N/A N/A N/A pkgPath root subpath spath N/A N/A N/A data_files append N/A N/A root rpath files N/A N/A N/A N/A os name nt N/A N/A N/A pkgPath N/A N/A N/A os path join base_files collectors src/collectors \ N/A N/A N/A pkgPath share/diamond/collectors src/collectors N/A version N/A get_version N/A N/A setup name diamond version version url https://github.com/python-diamond/Diamond author The Diamond Team author_email https://github.com/python-diamond/Diamond license MIT License description Smart data producer for graphite graphing package package_dir N/A src packages N/A diamond diamond.handler diamond.utils scripts N/A bin/diamond bin/diamond-setup data_files data_files install_requires install_requires setup_kwargs