From b1f89a5ffa2f963d1049709d3aa477be2fc39e3e Mon Sep 17 00:00:00 2001 From: dh00601 <dh00601@surrey.ac.uk> Date: Fri, 3 Jun 2022 15:05:48 +0100 Subject: [PATCH] added notes to files as they are not working properly and need to be checked --- commands/install.sh | 18 ------------------ commands/install_with_pip.sh | 3 ++- .../install_with_pip_without_dependencies.sh | 1 + commands/install_without_dependencies.sh | 1 + commands/upload_to_pypi.sh | 1 + 5 files changed, 5 insertions(+), 19 deletions(-) delete mode 100755 commands/install.sh diff --git a/commands/install.sh b/commands/install.sh deleted file mode 100755 index b9171547d..000000000 --- a/commands/install.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Script to install binarycpython in the current venv -VERSION_NUMBER=$(cat "VERSION") -echo "installing binarcpython version $VERSION_NUMBER" - -# Clean up all the stuff from before -python3 setup.py clean --all - -# Go into a directory that doesnt contain 'binarycpython' so pip will uninstall the one in the venv, not the local one. -cd src -pip3 uninstall -y binarycpython -cd ../ - -# Create build, sdist and install it into the venv -python3 setup.py build --force -python3 setup.py sdist -pip3 install -v dist/binarycpython-$VERSION_NUMBER.tar.gz diff --git a/commands/install_with_pip.sh b/commands/install_with_pip.sh index 01b88a2af..c00e27d5e 100755 --- a/commands/install_with_pip.sh +++ b/commands/install_with_pip.sh @@ -1,4 +1,5 @@ #!/bin/bash +# NOTE: this script needs revision. Does not work properly currently # Script to install binarycpython in the current venv using the pip commands @@ -9,4 +10,4 @@ echo "installing binarcpython version $VERSION_NUMBER" # pip uninstall binarycpython # python setup.py build --force # python setup.py sdist -pip install -v . \ No newline at end of file +pip install -v . diff --git a/commands/install_with_pip_without_dependencies.sh b/commands/install_with_pip_without_dependencies.sh index 798c5c952..db28e679d 100755 --- a/commands/install_with_pip_without_dependencies.sh +++ b/commands/install_with_pip_without_dependencies.sh @@ -1,4 +1,5 @@ #!/bin/bash +# NOTE: this script needs revision. Does not work properly currently # Script to install binarycpython in the current venv using the pip commands diff --git a/commands/install_without_dependencies.sh b/commands/install_without_dependencies.sh index ae91f0442..bfabd775d 100755 --- a/commands/install_without_dependencies.sh +++ b/commands/install_without_dependencies.sh @@ -1,4 +1,5 @@ #!/bin/bash +# NOTE: this script needs revision. Does not work properly currently # Script to install binarycpython in the current venv VERSION_NUMBER=$(cat "VERSION") diff --git a/commands/upload_to_pypi.sh b/commands/upload_to_pypi.sh index db8bb43d3..227ff46a8 100755 --- a/commands/upload_to_pypi.sh +++ b/commands/upload_to_pypi.sh @@ -1,4 +1,5 @@ #!/bin/bash +# NOTE: this script needs revision. Does not work properly currently # Get current version VERSION_NUMBER=$(cat "VERSION") -- GitLab