MCPcopy Create free account
hub / github.com/ipython/ipython / check_package_data_first

Function check_package_data_first

setupbase.py:142–151  ·  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

140
141
142def check_package_data_first(command):
143 """decorator for checking package_data before running a given command
144
145 Probably only needs to wrap build_py
146 """
147 class DecoratedCommand(command):
148 def run(self):
149 check_package_data(self.package_data)
150 command.run(self)
151 return DecoratedCommand
152
153
154#---------------------------------------------------------------------------

Callers 1

setup.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected