-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 57-change-the-flashloan_tokens-flag-type-to-…
…list
- Loading branch information
Showing
5 changed files
with
333 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#!/bin/bash | ||
|
||
# Check if conda is installed | ||
if ! command -v conda &> /dev/null | ||
then | ||
echo "conda could not be found" | ||
exit | ||
fi | ||
|
||
# Prompt user to confirm if the desired conda environment is activated | ||
read -p "Is your desired conda environment activated? (Y/N): " answer | ||
case ${answer:0:1} in | ||
y|Y ) | ||
echo "Proceeding with package installation..." | ||
;; | ||
* ) | ||
echo "Please create and/or activate the desired conda environment, and then rerun." | ||
exit | ||
;; | ||
esac | ||
|
||
# Install specific packages with conda | ||
conda install -y pyyaml==5.4.1 scipy osqp | ||
|
||
# Check if pip is installed | ||
if ! command -v pip &> /dev/null | ||
then | ||
echo "pip could not be found" | ||
exit | ||
fi | ||
|
||
# Install remaining packages from requirements.txt with pip | ||
if [ -f requirements.txt ]; then | ||
pip install -r requirements.txt --ignore-installed | ||
else | ||
echo "requirements.txt not found in the current directory" | ||
exit 1 | ||
fi | ||
|
||
# Run setup.py to configure brownie | ||
if [ -f setup.py ]; then | ||
python setup.py install | ||
else | ||
echo "setup.py not found in the current directory" | ||
exit 1 | ||
fi | ||
|
||
echo "All packages installed successfully" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from .bot import CarbonBot as Bot, __VERSION__, __DATE__ | ||
from .config import Config, ConfigNetwork, ConfigDB, ConfigLogger, ConfigProvider | ||
|
||
__version__ = '2.7.3' | ||
__version__ = '2.7.4' | ||
|
||
|
||
|
Oops, something went wrong.