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 ...@@ -43,7 +43,6 @@ sleep 5
ls -l dist/* ls -l dist/*
rm -rf ./local-site rm -rf ./local-site
mkdir -p `python3 -m site --user-site` mkdir -p `python3 -m site --user-site`
pip3 install importlib_metadata --user
python3 setup.py install --user --force python3 setup.py install --user --force
ln -sf ./local-site/bin/hive $HIVE_NAME ln -sf ./local-site/bin/hive $HIVE_NAME
./$HIVE_NAME -h ./$HIVE_NAME -h
......
...@@ -54,7 +54,7 @@ class BuildWrapper(build_py): ...@@ -54,7 +54,7 @@ class BuildWrapper(build_py):
class InstallWrapper(install): class InstallWrapper(install):
def run(self): def run(self):
GitRevisionProvider.provide_git_revision() GitRevisionProvider.provide_git_revision()
install.run(self) install.do_egg_install(self)
# yapf: disable # yapf: disable
setup( setup(
...@@ -94,6 +94,7 @@ setup( ...@@ -94,6 +94,7 @@ setup(
] ]
}, },
cmdclass={ cmdclass={
'install': InstallWrapper, 'install' : InstallWrapper,
'build_py':BuildWrapper} 'build_py' : BuildWrapper
}
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment