Merge pull request #3774 from freqtrade/reduce_requirements_files
Reduce requirements files
This commit is contained in:
commit
7e28896c5c
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -7,8 +7,8 @@ on:
|
|||||||
- develop
|
- develop
|
||||||
- github_actions_tests
|
- github_actions_tests
|
||||||
tags:
|
tags:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
pull_request:
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * 4'
|
- cron: '0 5 * * 4'
|
||||||
@ -226,7 +226,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract branch name
|
- name: Extract branch name
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
|
||||||
id: extract_branch
|
id: extract_branch
|
||||||
|
|
||||||
- name: Build distribution
|
- name: Build distribution
|
||||||
|
@ -16,7 +16,7 @@ RUN cd /tmp && /tmp/install_ta-lib.sh && rm -r /tmp/*ta-lib*
|
|||||||
ENV LD_LIBRARY_PATH /usr/local/lib
|
ENV LD_LIBRARY_PATH /usr/local/lib
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
COPY requirements.txt requirements-common.txt requirements-hyperopt.txt /freqtrade/
|
COPY requirements.txt requirements-hyperopt.txt /freqtrade/
|
||||||
RUN pip install numpy --no-cache-dir \
|
RUN pip install numpy --no-cache-dir \
|
||||||
&& pip install -r requirements-hyperopt.txt --no-cache-dir
|
&& pip install -r requirements-hyperopt.txt --no-cache-dir
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ RUN cd /tmp && /tmp/install_ta-lib.sh && rm -r /tmp/*ta-lib*
|
|||||||
ENV LD_LIBRARY_PATH /usr/local/lib
|
ENV LD_LIBRARY_PATH /usr/local/lib
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
COPY requirements.txt requirements-common.txt /freqtrade/
|
COPY requirements.txt /freqtrade/
|
||||||
RUN pip install numpy --no-cache-dir \
|
RUN pip install numpy --no-cache-dir \
|
||||||
&& pip install -r requirements.txt --no-cache-dir
|
&& pip install -r requirements.txt --no-cache-dir
|
||||||
|
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
# requirements without requirements installable via conda
|
|
||||||
# mainly used for Raspberry pi installs
|
|
||||||
ccxt==1.34.11
|
|
||||||
SQLAlchemy==1.3.19
|
|
||||||
python-telegram-bot==12.8
|
|
||||||
arrow==0.16.0
|
|
||||||
cachetools==4.1.1
|
|
||||||
requests==2.24.0
|
|
||||||
urllib3==1.25.10
|
|
||||||
wrapt==1.12.1
|
|
||||||
jsonschema==3.2.0
|
|
||||||
TA-Lib==0.4.18
|
|
||||||
tabulate==0.8.7
|
|
||||||
pycoingecko==1.3.0
|
|
||||||
jinja2==2.11.2
|
|
||||||
tables==3.6.1
|
|
||||||
blosc==1.9.2
|
|
||||||
|
|
||||||
# find first, C search in arrays
|
|
||||||
py_find_1st==1.1.4
|
|
||||||
|
|
||||||
# Load ticker files 30% faster
|
|
||||||
python-rapidjson==0.9.1
|
|
||||||
|
|
||||||
# Notify systemd
|
|
||||||
sdnotify==0.3.2
|
|
||||||
|
|
||||||
# Api server
|
|
||||||
flask==1.1.2
|
|
||||||
flask-jwt-extended==3.24.1
|
|
||||||
flask-cors==3.0.9
|
|
||||||
|
|
||||||
# Support for colorized terminal output
|
|
||||||
colorama==0.4.3
|
|
||||||
# Building config files interactively
|
|
||||||
questionary==1.5.2
|
|
||||||
prompt-toolkit==3.0.7
|
|
@ -1,5 +1,38 @@
|
|||||||
# Load common requirements
|
|
||||||
-r requirements-common.txt
|
|
||||||
|
|
||||||
numpy==1.19.1
|
numpy==1.19.1
|
||||||
pandas==1.1.2
|
pandas==1.1.2
|
||||||
|
|
||||||
|
ccxt==1.34.11
|
||||||
|
SQLAlchemy==1.3.19
|
||||||
|
python-telegram-bot==12.8
|
||||||
|
arrow==0.16.0
|
||||||
|
cachetools==4.1.1
|
||||||
|
requests==2.24.0
|
||||||
|
urllib3==1.25.10
|
||||||
|
wrapt==1.12.1
|
||||||
|
jsonschema==3.2.0
|
||||||
|
TA-Lib==0.4.18
|
||||||
|
tabulate==0.8.7
|
||||||
|
pycoingecko==1.3.0
|
||||||
|
jinja2==2.11.2
|
||||||
|
tables==3.6.1
|
||||||
|
blosc==1.9.2
|
||||||
|
|
||||||
|
# find first, C search in arrays
|
||||||
|
py_find_1st==1.1.4
|
||||||
|
|
||||||
|
# Load ticker files 30% faster
|
||||||
|
python-rapidjson==0.9.1
|
||||||
|
|
||||||
|
# Notify systemd
|
||||||
|
sdnotify==0.3.2
|
||||||
|
|
||||||
|
# Api server
|
||||||
|
flask==1.1.2
|
||||||
|
flask-jwt-extended==3.24.1
|
||||||
|
flask-cors==3.0.9
|
||||||
|
|
||||||
|
# Support for colorized terminal output
|
||||||
|
colorama==0.4.3
|
||||||
|
# Building config files interactively
|
||||||
|
questionary==1.5.2
|
||||||
|
prompt-toolkit==3.0.7
|
||||||
|
3
setup.py
3
setup.py
@ -62,7 +62,7 @@ setup(name='freqtrade',
|
|||||||
setup_requires=['pytest-runner', 'numpy'],
|
setup_requires=['pytest-runner', 'numpy'],
|
||||||
tests_require=['pytest', 'pytest-asyncio', 'pytest-cov', 'pytest-mock', ],
|
tests_require=['pytest', 'pytest-asyncio', 'pytest-cov', 'pytest-mock', ],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
# from requirements-common.txt
|
# from requirements.txt
|
||||||
'ccxt>=1.24.96',
|
'ccxt>=1.24.96',
|
||||||
'SQLAlchemy',
|
'SQLAlchemy',
|
||||||
'python-telegram-bot',
|
'python-telegram-bot',
|
||||||
@ -82,7 +82,6 @@ setup(name='freqtrade',
|
|||||||
'jinja2',
|
'jinja2',
|
||||||
'questionary',
|
'questionary',
|
||||||
'prompt-toolkit',
|
'prompt-toolkit',
|
||||||
# from requirements.txt
|
|
||||||
'numpy',
|
'numpy',
|
||||||
'pandas',
|
'pandas',
|
||||||
'tables',
|
'tables',
|
||||||
|
Loading…
Reference in New Issue
Block a user