Merge pull request #8220 from eSAMTrade/remove-redundant-dependencies
removed redundant dependencies from environment.yml
This commit is contained in:
commit
13376fdad8
@ -290,10 +290,8 @@ cd freqtrade
|
|||||||
|
|
||||||
#### Freqtrade install: Conda Environment
|
#### Freqtrade install: Conda Environment
|
||||||
|
|
||||||
Prepare conda-freqtrade environment, using file `environment.yml`, which exist in main freqtrade directory
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
conda env create -n freqtrade-conda -f environment.yml
|
conda create --name freqtrade python=3.10
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! Note "Creating Conda Environment"
|
!!! Note "Creating Conda Environment"
|
||||||
@ -302,12 +300,9 @@ conda env create -n freqtrade-conda -f environment.yml
|
|||||||
```bash
|
```bash
|
||||||
# choose your own packages
|
# choose your own packages
|
||||||
conda env create -n [name of the environment] [python version] [packages]
|
conda env create -n [name of the environment] [python version] [packages]
|
||||||
|
|
||||||
# point to file with packages
|
|
||||||
conda env create -n [name of the environment] -f [file]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Enter/exit freqtrade-conda environment
|
#### Enter/exit freqtrade environment
|
||||||
|
|
||||||
To check available environments, type
|
To check available environments, type
|
||||||
|
|
||||||
@ -319,7 +314,7 @@ Enter installed environment
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# enter conda environment
|
# enter conda environment
|
||||||
conda activate freqtrade-conda
|
conda activate freqtrade
|
||||||
|
|
||||||
# exit conda environment - don't do it now
|
# exit conda environment - don't do it now
|
||||||
conda deactivate
|
conda deactivate
|
||||||
@ -329,6 +324,7 @@ Install last python dependencies with pip
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
|
python3 -m pip install -r requirements.txt
|
||||||
python3 -m pip install -e .
|
python3 -m pip install -e .
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -336,7 +332,7 @@ Patch conda libta-lib (Linux only)
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Ensure that the environment is active!
|
# Ensure that the environment is active!
|
||||||
conda activate freqtrade-conda
|
conda activate freqtrade
|
||||||
|
|
||||||
cd build_helpers
|
cd build_helpers
|
||||||
bash install_ta-lib.sh ${CONDA_PREFIX} nosudo
|
bash install_ta-lib.sh ${CONDA_PREFIX} nosudo
|
||||||
@ -355,8 +351,8 @@ conda env list
|
|||||||
# activate base environment
|
# activate base environment
|
||||||
conda activate
|
conda activate
|
||||||
|
|
||||||
# activate freqtrade-conda environment
|
# activate freqtrade environment
|
||||||
conda activate freqtrade-conda
|
conda activate freqtrade
|
||||||
|
|
||||||
#deactivate any conda environments
|
#deactivate any conda environments
|
||||||
conda deactivate
|
conda deactivate
|
||||||
|
@ -1,74 +0,0 @@
|
|||||||
name: freqtrade
|
|
||||||
channels:
|
|
||||||
- conda-forge
|
|
||||||
# - defaults
|
|
||||||
dependencies:
|
|
||||||
# 1/4 req main
|
|
||||||
- python>=3.8,<=3.10
|
|
||||||
- numpy
|
|
||||||
- pandas
|
|
||||||
- pip
|
|
||||||
|
|
||||||
- py-find-1st
|
|
||||||
- aiohttp
|
|
||||||
- SQLAlchemy
|
|
||||||
- python-telegram-bot<20.0.0
|
|
||||||
- arrow
|
|
||||||
- cachetools
|
|
||||||
- requests
|
|
||||||
- urllib3
|
|
||||||
- jsonschema
|
|
||||||
- TA-Lib
|
|
||||||
- tabulate
|
|
||||||
- jinja2
|
|
||||||
- blosc
|
|
||||||
- sdnotify
|
|
||||||
- fastapi
|
|
||||||
- uvicorn
|
|
||||||
- pyjwt
|
|
||||||
- aiofiles
|
|
||||||
- psutil
|
|
||||||
- colorama
|
|
||||||
- questionary
|
|
||||||
- prompt-toolkit
|
|
||||||
- schedule
|
|
||||||
- python-dateutil
|
|
||||||
- joblib
|
|
||||||
- pyarrow
|
|
||||||
|
|
||||||
|
|
||||||
# ============================
|
|
||||||
# 2/4 req dev
|
|
||||||
|
|
||||||
- coveralls
|
|
||||||
- mypy
|
|
||||||
- pytest
|
|
||||||
- pytest-asyncio
|
|
||||||
- pytest-cov
|
|
||||||
- pytest-mock
|
|
||||||
- isort
|
|
||||||
- nbconvert
|
|
||||||
|
|
||||||
# ============================
|
|
||||||
# 3/4 req hyperopt
|
|
||||||
|
|
||||||
- scipy
|
|
||||||
- scikit-learn<1.2.0
|
|
||||||
- filelock
|
|
||||||
- scikit-optimize
|
|
||||||
- progressbar2
|
|
||||||
# ============================
|
|
||||||
# 4/4 req plot
|
|
||||||
|
|
||||||
- plotly
|
|
||||||
- jupyter
|
|
||||||
|
|
||||||
- pip:
|
|
||||||
- pycoingecko
|
|
||||||
# - py_find_1st
|
|
||||||
- tables
|
|
||||||
- pytest-random-order
|
|
||||||
- ccxt
|
|
||||||
- ruff
|
|
||||||
- -e .
|
|
||||||
# - python-rapidjso
|
|
Loading…
Reference in New Issue
Block a user