diff --git a/setup.py b/setup.py index 9648d87..6cd1c19 100644 --- a/setup.py +++ b/setup.py @@ -26,13 +26,6 @@ else: class InstallTypeinfo(install): def run(self): install.run(self) - for pyi in glob.glob("typehinting/*.pyi"): - stubs = os.path.basename(pyi).split(".")[0] + "-stubs" - stubs = os.path.join(self.install_purelib, stubs) - if not os.path.exists(stubs): - os.makedirs(stubs) - shutil.copy(pyi, os.path.join(stubs, "__init__.pyi")) - cmdclass["install"] = InstallTypeinfo