Skip to content

[BUG] install.sh bug when try to reinstall the deepgemm #225

@Dingjifeng

Description

@Dingjifeng

if use the same version the .whl will not be updated, need to change the script to

pip install dist/*.whl --force-reinstall

full script:

# Change current directory into project root
original_dir=$(pwd)
script_dir=$(realpath "$(dirname "$0")")
cd "$script_dir"

# Remove old dist file, build files, and install
rm -rf build dist
rm -rf *.egg-info
python setup.py bdist_wheel
pip install dist/*.whl --force-reinstal

# Open users' original directory
cd "$original_dir"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions