Skip to content
Snippets Groups Projects
Commit 0c66b961 authored by dh00601's avatar dh00601
Browse files

cleaning up the installation scripts

parent 75a1f632
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
# Script to install binarycpython in the current venv # Script to install binarycpython in the current venv
VERSION_NUMBER=$(cat "VERSION") VERSION_NUMBER=$(cat "VERSION")
echo "installing binarcpython version $VERSION_NUMBER" echo "installing binarcpython version $VERSION_NUMBER"
python setup.py clean # Clean up all the stuff from before
pip uninstall binarycpython python 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
pip uninstall -y binarycpython
cd ../
# Create build, sdist and install it into the venv
python setup.py build --force python setup.py build --force
python setup.py sdist python setup.py sdist
pip install --ignore-installed --no-dependencies -v dist/binarycpython-$VERSION_NUMBER.tar.gz pip install --ignore-installed --no-dependencies -v dist/binarycpython-$VERSION_NUMBER.tar.gz
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