Skip to content
Snippets Groups Projects
Commit b644b4ea authored by Dariusz Kędzierski's avatar Dariusz Kędzierski
Browse files

Install wrapper fixes

- it seems that install_requires is ignored when calling install.run
  from install wrapper. install.do_egg_install() should fix the problem
parent 0b30b278
No related branches found
No related tags found
4 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!84Upgrade of setup.py
......@@ -43,7 +43,6 @@ sleep 5
ls -l dist/*
rm -rf ./local-site
mkdir -p `python3 -m site --user-site`
pip3 install importlib_metadata --user
python3 setup.py install --user --force
ln -sf ./local-site/bin/hive $HIVE_NAME
./$HIVE_NAME -h
......
......@@ -54,7 +54,7 @@ class BuildWrapper(build_py):
class InstallWrapper(install):
def run(self):
GitRevisionProvider.provide_git_revision()
install.run(self)
install.do_egg_install(self)
# yapf: disable
setup(
......@@ -94,6 +94,7 @@ setup(
]
},
cmdclass={
'install': InstallWrapper,
'build_py':BuildWrapper}
'install' : InstallWrapper,
'build_py' : BuildWrapper
}
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment