This is along the lines of #961. @bcfriesen This should allow you to define the `extra_resources` after the setup in order to use `self.stagedir`.