mirror of
https://github.com/wassname/GENIES.git
synced 2026-06-27 16:10:25 +08:00
removed post setup command
This commit is contained in:
@@ -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']},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user