(self)
| 569 | return {} |
| 570 | |
| 571 | def __init__(self): |
| 572 | if self.conf_tmp_path is None: |
| 573 | import shutil |
| 574 | import tempfile |
| 575 | tmp = tempfile.mkdtemp() |
| 576 | def rm_temp(): |
| 577 | try: |
| 578 | shutil.rmtree(tmp) |
| 579 | except OSError: |
| 580 | pass |
| 581 | atexit.register(rm_temp) |
| 582 | self.conf_tmp_path = tmp |
| 583 | |
| 584 | if self.conf_cache_factors is None: |
| 585 | self.conf_cache_factors = [ |
| 586 | os.path.getmtime(__file__), |
| 587 | self.conf_nocache |
| 588 | ] |
| 589 | |
| 590 | class _Distutils: |
| 591 | """A helper class that provides a collection of fundamental methods |
nothing calls this directly
no outgoing calls
no test coverage detected