MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / run

Method run

setup.py:12–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10
11class InstallCmd(install):
12 def run(self):
13 # prepare icons directories
14 try:
15 os.makedirs('desktop/icons/scalable')
16 except os.error:
17 pass
18 shutil.copyfile(
19 'desktop/can-icon.svg', 'desktop/icons/scalable/pybitmessage.svg')
20 try:
21 os.makedirs('desktop/icons/24x24')
22 except os.error:
23 pass
24 shutil.copyfile(
25 'desktop/icon24.png', 'desktop/icons/24x24/pybitmessage.png')
26
27 return install.run(self)
28
29
30if __name__ == "__main__":

Callers 1

testCompilerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected