From 1da1149087f79012c187f351dfa2e19235d2c7bd Mon Sep 17 00:00:00 2001 From: dh00601 <dh00601@surrey.ac.uk> Date: Mon, 1 Nov 2021 13:37:40 +0000 Subject: [PATCH] Added script to install with pip with dependencies --- install_with_pip.sh | 4 ++-- install_with_pip_without_dependencies.sh | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100755 install_with_pip_without_dependencies.sh diff --git a/install_with_pip.sh b/install_with_pip.sh index bbea24cdf..03a283b85 100755 --- a/install_with_pip.sh +++ b/install_with_pip.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Script to install binarycpython in the current venv +# Script to install binarycpython in the current venv using the pip commands VERSION_NUMBER=$(cat "VERSION") echo "installing binarcpython version $VERSION_NUMBER" @@ -9,4 +9,4 @@ echo "installing binarcpython version $VERSION_NUMBER" # pip uninstall binarycpython # python setup.py build --force # python setup.py sdist -pip install --ignore-installed --no-dependencies -v -e . \ No newline at end of file +pip install -v -e . \ No newline at end of file diff --git a/install_with_pip_without_dependencies.sh b/install_with_pip_without_dependencies.sh new file mode 100755 index 000000000..d9d847b95 --- /dev/null +++ b/install_with_pip_without_dependencies.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Script to install binarycpython in the current venv using the pip commands + +VERSION_NUMBER=$(cat "VERSION") +echo "installing binarcpython version $VERSION_NUMBER" + +# python setup.py clean +# pip uninstall binarycpython +# python setup.py build --force +# python setup.py sdist +pip install --ignore-installed --no-dependencies -v -e . \ No newline at end of file -- GitLab