##// END OF EJS Templates
reformat
Matthias Bussonnier -
Show More
@@ -62,6 +62,7 b' if resource is not None and hasattr(resource, "getrusage"):'
62 62 Similar to clock(), but return a tuple of user/system times."""
63 63 return resource.getrusage(resource.RUSAGE_SELF)[:2]
64 64
65
65 66 else:
66 67 # There is no distinction of user/system time under windows, so we just use
67 68 # time.perff_counter() for everything...
@@ -103,10 +103,12 b" if len(sys.argv) >= 2 and sys.argv[1] in ('sdist','bdist_rpm'):"
103 103 # List of things to be updated. Each entry is a triplet of args for
104 104 # target_update()
105 105 to_update = [
106 ('docs/man/ipython.1.gz',
107 ['docs/man/ipython.1'],
108 'cd docs/man && python -m gzip --best ipython.1'),
109 ]
106 (
107 "docs/man/ipython.1.gz",
108 ["docs/man/ipython.1"],
109 "cd docs/man && python -m gzip --best ipython.1",
110 ),
111 ]
110 112
111 113
112 114 [ target_update(*t) for t in to_update ]
General Comments 0
You need to be logged in to leave comments. Login now