-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Richard Mwewa edited this page Apr 28, 2023
·
6 revisions
searchcode-cli can be installed from pypi using the command:
pip install searchcode
Alternatively:
pip install searchcode-cli
searchcode
is a dummy package that installssearchcode-cli
pip install git+https://github.com/rly0nheart/searchcpde-cli.git
Or if you wish to build searchcode from source, you can follow these steps:
1. Clone the repository
git clone https://github.com/rly0nheart/searchcode-cli
2. Move to searchcode-cli directory
cd searchcode-cli
3. Build the wheel file Before you start building the wheel, you should first install the build package (if you dont already have it)
pip install build
Once the build package is installed, you can now run the following command to start building:
python -m build
4. Installing the wheel When building is complete, you will now run the following command to install the built wheel
pip install dist/*.whl
for %I in (.\dist\*.whl) do pip install "%I"
Get-ChildItem .\dist\*.whl | ForEach-Object {pip install $_.FullName}
This will look for a file with the .whl extension in the dist directory and install it