Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in feature/package-tools (pull request #64)
Use pip-tools to freeze our dependencies * requirements.txt, add a Makefile, add pip-compile (update requirements.txt) as pre-commit step * add pip-sync to Makefile and CI, document it * add pinned depencencies to bitbucket CI * revert Approved-by: Felix Claessen
- Loading branch information
Showing
6 changed files
with
141 additions
and
11 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,27 @@ | ||
# Note: use tabs | ||
# actions which are virtual, i.e. not a script | ||
.PHONY: install install-deps install-bvp freeze-deps show-file-space | ||
|
||
install: install-deps install-bvp | ||
|
||
install-deps: | ||
pip install pip-tools | ||
pip-sync | ||
|
||
freeze-deps: | ||
pip-compile | ||
|
||
install-bvp: | ||
python setup.py develop | ||
|
||
upgrade-db: | ||
flask db current | ||
flask db upgrade | ||
|
||
update-docs: | ||
pip install sphinx sphinxcontrib.httpdomain | ||
cd documentation; make clean; make html; cd .. | ||
|
||
show-file-space: | ||
# Where is our file space going? | ||
du --summarize --human-readable --total ./* ./.[a-zA-Z]* | sort -h |
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
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,94 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# pip-compile | ||
# | ||
--extra-index-url https://packagecloud.io/github/git-lfs/pypi/simple | ||
|
||
alembic==1.4.2 # via flask-migrate | ||
appdirs==1.4.4 # via pyomo | ||
arrow==0.15.7 # via rq-dashboard | ||
babel==2.8.0 # via flask-babelex | ||
bcrypt==3.1.7 # via bvp (setup.py) | ||
blinker==1.4 # via flask-mail, flask-principal | ||
bokeh==1.0.4 # via bvp (setup.py), pandas-bokeh | ||
certifi==2020.6.20 # via requests | ||
cffi==1.14.0 # via bcrypt | ||
chardet==3.0.4 # via requests | ||
click==7.1.2 # via bvp (setup.py), flask, rq | ||
colour==0.1.5 # via bvp (setup.py) | ||
cycler==0.10.0 # via matplotlib | ||
dnspython==1.16.0 # via email-validator | ||
email-validator==1.1.1 # via bvp (setup.py) | ||
flask-babelex==0.9.4 # via flask-security | ||
flask-classful==0.14.2 # via bvp (setup.py) | ||
flask-json==0.3.4 # via bvp (setup.py) | ||
flask-login==0.4.1 # via bvp (setup.py), flask-security | ||
flask-mail==0.9.1 # via bvp (setup.py), flask-security | ||
flask-marshmallow==0.13.0 # via bvp (setup.py) | ||
flask-migrate==2.5.3 # via bvp (setup.py) | ||
flask-principal==0.4.0 # via flask-security | ||
flask-security==3.0.0 # via bvp (setup.py) | ||
flask-sqlalchemy==2.4.3 # via bvp (setup.py), flask-migrate | ||
flask-sslify==0.1.5 # via bvp (setup.py) | ||
flask-wtf==0.14.3 # via bvp (setup.py), flask-security | ||
flask==1.1.2 # via bvp (setup.py), flask-babelex, flask-classful, flask-json, flask-login, flask-mail, flask-marshmallow, flask-migrate, flask-principal, flask-security, flask-sqlalchemy, flask-sslify, flask-wtf, rq-dashboard | ||
forecastiopy==0.22 # via bvp (setup.py) | ||
humanize==2.5.0 # via bvp (setup.py) | ||
idna==2.10 # via email-validator, requests | ||
inflect==4.1.0 # via bvp (setup.py) | ||
inflection==0.5.0 # via bvp (setup.py) | ||
iso8601==0.1.12 # via bvp (setup.py) | ||
isodate==0.6.0 # via bvp (setup.py) | ||
itsdangerous==1.1.0 # via flask, flask-security, flask-wtf | ||
jinja2==2.11.2 # via bokeh, flask, flask-babelex | ||
joblib==0.16.0 # via scikit-learn | ||
kiwisolver==1.2.0 # via matplotlib | ||
mako==1.1.3 # via alembic | ||
markupsafe==1.1.1 # via jinja2, mako, wtforms | ||
marshmallow-sqlalchemy==0.23.1 # via bvp (setup.py) | ||
marshmallow==3.6.1 # via flask-marshmallow, marshmallow-sqlalchemy | ||
matplotlib==3.2.2 # via timetomodel | ||
nose==1.3.7 # via pyutilib | ||
numpy==1.19.0 # via bokeh, bvp (setup.py), matplotlib, pandas, patsy, scikit-learn, scipy, statsmodels, timetomodel | ||
packaging==20.4 # via bokeh | ||
pandas-bokeh==0.4.3 # via bvp (setup.py) | ||
pandas==1.0.5 # via bvp (setup.py), pandas-bokeh, statsmodels, timetomodel | ||
passlib==1.7.2 # via flask-security | ||
patsy==0.5.1 # via statsmodels | ||
pillow==7.2.0 # via bokeh | ||
ply==3.11 # via pyomo | ||
pscript==0.7.4 # via bvp (setup.py) | ||
psycopg2-binary==2.8.5 # via bvp (setup.py) | ||
py3dns==3.2.1 # via bvp (setup.py) | ||
pycparser==2.20 # via cffi | ||
pyomo==5.7 # via bvp (setup.py) | ||
pyparsing==2.4.7 # via matplotlib, packaging | ||
pysolar==0.8 # via bvp (setup.py) | ||
python-dateutil==2.8.1 # via alembic, arrow, bokeh, matplotlib, pandas, timetomodel | ||
python-dotenv==0.14.0 # via bvp (setup.py) | ||
python-editor==1.0.4 # via alembic | ||
pytz==2020.1 # via babel, bvp (setup.py), pandas, timetomodel, tzlocal | ||
pyutilib==6.0.0 # via pyomo | ||
pyyaml==5.3.1 # via bokeh | ||
redis==3.5.3 # via rq, rq-dashboard | ||
requests==2.24.0 # via forecastiopy | ||
rq-dashboard==0.6.1 # via bvp (setup.py) | ||
rq==1.4.3 # via bvp (setup.py), rq-dashboard | ||
scikit-learn==0.23.1 # via sklearn | ||
scipy==1.5.1 # via scikit-learn, statsmodels, timetomodel | ||
six==1.15.0 # via bcrypt, bokeh, cycler, flask-marshmallow, isodate, packaging, patsy, pyomo, python-dateutil, pyutilib | ||
sklearn==0.0 # via timetomodel | ||
speaklater==1.3 # via flask-babelex | ||
sqlalchemy==1.3.18 # via alembic, flask-sqlalchemy, marshmallow-sqlalchemy, timetomodel | ||
statsmodels==0.11.1 # via timetomodel | ||
threadpoolctl==2.1.0 # via scikit-learn | ||
timetomodel==0.6.8 # via bvp (setup.py) | ||
tornado==6.0.4 # via bokeh | ||
tzlocal==2.1 # via bvp (setup.py) | ||
urllib3==1.25.9 # via requests | ||
validate-email==1.3 # via bvp (setup.py) | ||
werkzeug==1.0.1 # via flask | ||
wtforms==2.3.1 # via flask-wtf | ||
xlrd==1.2.0 # via bvp (setup.py) |