Add scripts to configuration. Add the sequence of files to the beginning of the scripts list. Scripts will be installed under the /bin/ directory.
(self,*files)
| 1753 | |
| 1754 | |
| 1755 | def add_scripts(self,*files): |
| 1756 | """Add scripts to configuration. |
| 1757 | |
| 1758 | Add the sequence of files to the beginning of the scripts list. |
| 1759 | Scripts will be installed under the <prefix>/bin/ directory. |
| 1760 | |
| 1761 | """ |
| 1762 | scripts = self.paths(files) |
| 1763 | dist = self.get_distribution() |
| 1764 | if dist is not None: |
| 1765 | if dist.scripts is None: |
| 1766 | dist.scripts = [] |
| 1767 | dist.scripts.extend(scripts) |
| 1768 | else: |
| 1769 | self.scripts.extend(scripts) |
| 1770 | |
| 1771 | def dict_append(self,**dict): |
| 1772 | for key in self.list_keys: |
nothing calls this directly
no test coverage detected