forked from gbeced/pyalgotrade
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
27 additions
and
20 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
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Build and tag Python 2.7 images | ||
docker build --build-arg PYTHON_VERSION=2.7 -t pyalgotrade:0.19 . | ||
docker tag pyalgotrade:0.19 pyalgotrade:0.19-py27 | ||
docker tag pyalgotrade:0.19 gbecedillas/pyalgotrade:0.19 | ||
docker tag pyalgotrade:0.19-py27 gbecedillas/pyalgotrade:0.19-py27 | ||
docker build --build-arg PYTHON_VERSION=2.7 -t pyalgotrade:0.20 . | ||
docker tag pyalgotrade:0.20 pyalgotrade:0.20-py27 | ||
docker tag pyalgotrade:0.20 gbecedillas/pyalgotrade:0.20 | ||
docker tag pyalgotrade:0.20-py27 gbecedillas/pyalgotrade:0.20-py27 | ||
|
||
# Build and tag Python 3.7 images | ||
docker build --build-arg PYTHON_VERSION=3.7 -t pyalgotrade:0.19-py37 . | ||
docker tag pyalgotrade:0.19-py37 gbecedillas/pyalgotrade:0.19-py37 | ||
docker build --build-arg PYTHON_VERSION=3.7 -t pyalgotrade:0.20-py37 . | ||
docker tag pyalgotrade:0.20-py37 gbecedillas/pyalgotrade:0.20-py37 | ||
|
||
# Push images | ||
docker login --username=gbecedillas | ||
# docker push gbecedillas/pyalgotrade:0.19 | ||
docker push gbecedillas/pyalgotrade:0.19-py27 | ||
docker push gbecedillas/pyalgotrade:0.19-py37 | ||
# docker push gbecedillas/pyalgotrade:0.20 | ||
docker push gbecedillas/pyalgotrade:0.20-py27 | ||
docker push gbecedillas/pyalgotrade:0.20-py37 | ||
|
||
# docker rmi $(docker images --quiet --filter "dangling=true") |
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 |
---|---|---|
|
@@ -18,4 +18,5 @@ | |
.. moduleauthor:: Gabriel Martin Becedillas Ruiz <[email protected]> | ||
""" | ||
|
||
__version__ = "0.19" | ||
name = "PyAlgoTrade" | ||
__version__ = "0.20" |
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 |
---|---|---|
|
@@ -22,15 +22,21 @@ | |
except ImportError: | ||
from distutils.core import setup | ||
|
||
|
||
setup( | ||
name='PyAlgoTrade', | ||
version='0.19', | ||
version='0.20', | ||
description='Python Algorithmic Trading', | ||
long_description='Python library for backtesting stock trading strategies.', | ||
author='Gabriel Martin Becedillas Ruiz', | ||
author_email='[email protected]', | ||
url='http://gbeced.github.io/pyalgotrade/', | ||
download_url='http://sourceforge.net/projects/pyalgotrade/files/0.19/PyAlgoTrade-0.19.tar.gz/download', | ||
download_url='http://sourceforge.net/projects/pyalgotrade/files/0.20/PyAlgoTrade-0.20.tar.gz/download', | ||
classifiers=[ | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: OS Independent", | ||
], | ||
packages=[ | ||
'pyalgotrade', | ||
'pyalgotrade.barfeed', | ||
|
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,6 +1,6 @@ | ||
# ARG PYALGOTRADE_TAG | ||
# FROM gbecedillas/pyalgotrade:${PYALGOTRADE_TAG} | ||
FROM gbecedillas/pyalgotrade:0.19-py27 | ||
FROM gbecedillas/pyalgotrade:0.20-py27 | ||
|
||
MAINTAINER Gabriel Martin Becedillas Ruiz <[email protected]> | ||
|
||
|