#27 Attempt to use poetry for package management

This commit is contained in:
Didier Lopes
2021-02-28 15:53:58 +00:00
parent 2522df0ed0
commit 32be931e69
4 changed files with 2849 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
.git
.*
.dockerignore
.env*
.gitignore

View File

@@ -22,8 +22,12 @@ RUN useradd --create-home --shell /bin/bash python
USER python
WORKDIR /home/python
ENV PATH="/home/python/.local/bin:${PATH}"
COPY --chown=python:python . .
RUN INSTALL_ON_LINUX=1 pip install -r requirements.txt
#RUN INSTALL_ON_LINUX=1 pip install -r requirements.txt
RUN pip install "poetry==1.1.4"
RUN poetry export -f requirements.txt | pip install -r /dev/stdin
CMD ["python", "gamestonk_terminal.py"]

2806
poetry.lock generated Normal file

File diff suppressed because it is too large Load Diff

37
pyproject.toml Normal file
View File

@@ -0,0 +1,37 @@
[tool.poetry]
name = "GamestonkTerminal"
version = "0.1.0"
description = ""
authors = ["Didier Rodrigues Lopes"]
[tool.poetry.dependencies]
python = "3.6.13"
fbprophet = "0.6"
pandas = "1.1.5"
iso8601 = "0.1.14"
FundamentalAnalysis = "0.2.6"
requests = "2.25.1"
alpha-vantage = "2.3.1"
finviz = "1.3.4"
bs4 = "0.0.1"
rapidfuzz = "1.1.1"
yfinance = "0.1.55"
pandas-ta = "0.2.23b0"
dataclasses = "0.8"
prettytable = "2.0.0"
psaw = "0.0.12"
praw = "7.1.4"
Quandl = "3.6.0"
flair = "0.7"
pytrends = "4.7.3"
TimeSeriesCrossValidation = { git = "https://github.com/DidierRLopes/TimeSeriesCrossValidation.git", branch = "master" }
pmdarima = "1.8.0"
tensorflow = "2.4.1"
matplotlib = "3.3.3"
plotly = "4.14.3"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"