Download this distribution into `dest_dir` directory. Return the fetched filename.
(self, dest_dir=THIRDPARTY_DIR)
| 563 | ) |
| 564 | |
| 565 | def download(self, dest_dir=THIRDPARTY_DIR): |
| 566 | """ |
| 567 | Download this distribution into `dest_dir` directory. |
| 568 | Return the fetched filename. |
| 569 | """ |
| 570 | assert self.filename |
| 571 | if TRACE_DEEP: |
| 572 | print( |
| 573 | f"Fetching distribution of {self.name}=={self.version}:", |
| 574 | self.filename, |
| 575 | ) |
| 576 | |
| 577 | # FIXME: |
| 578 | fetch_and_save( |
| 579 | path_or_url=self.path_or_url, |
| 580 | dest_dir=dest_dir, |
| 581 | filename=self.filename, |
| 582 | as_text=False, |
| 583 | ) |
| 584 | return self.filename |
| 585 | |
| 586 | @property |
| 587 | def about_filename(self): |
no test coverage detected