removed post setup command

This commit is contained in:
Joshuaclymer
2023-11-17 20:46:13 +00:00
parent ab17c7221a
commit 22c8afb255
+1 -12
View File
@@ -17,14 +17,6 @@ if os.path.isfile(requirements_path):
with open(requirements_path) as f: with open(requirements_path) as f:
requirements = f.read().splitlines() requirements = f.read().splitlines()
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
print("RUNNING POST INSTALL 1")
install.run(self)
print("RUNNING POST INSTALL")
download_data()
setuptools.setup( setuptools.setup(
name="genies-benchmark", name="genies-benchmark",
@@ -40,12 +32,9 @@ setuptools.setup(
"License :: MIT License", "License :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
], ],
cmdclass={
'install': PostInstallCommand,
},
python_requires='>=3.10', python_requires='>=3.10',
install_requires=requirements, install_requires=requirements,
packages=find_packages(where='src'), # Specify 'src' as the root packages=find_packages(where='src'), # Specify 'src' as the root
package_dir={'': 'src'}, package_dir={'': 'src'},
package_data={'genies-benchmark': ['LICENCE', 'requirements.txt']}, package_data={'genies-benchmark': ['LICENCE', 'requirements.txt']},
) )