MCPcopy Index your code
hub / github.com/ipython/ipython / check_package_data_first

Function check_package_data_first

setupbase.py:73–82  ·  view source on GitHub ↗

decorator for checking package_data before running a given command Probably only needs to wrap build_py

(command)

Source from the content-addressed store, hash-verified

71
72
73def check_package_data_first(command):
74 """decorator for checking package_data before running a given command
75
76 Probably only needs to wrap build_py
77 """
78 class DecoratedCommand(command):
79 def run(self):
80 check_package_data(self.package_data)
81 command.run(self)
82 return DecoratedCommand
83
84
85#---------------------------------------------------------------------------

Callers 1

setup.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…