From e472236e2de3ceba5714de0201737536cef3a304 Mon Sep 17 00:00:00 2001 From: Zairon Jacobs Date: Wed, 7 Oct 2020 11:00:53 +0200 Subject: [PATCH] Pipfile --- Pipfile | 1 + Pipfile.lock | 88 ++++++++++++++++++++++++++++++++- README.md | 9 +++- setup.py | 2 +- stock_position_calc/__init__.py | 2 +- 5 files changed, 97 insertions(+), 5 deletions(-) diff --git a/Pipfile b/Pipfile index fce958d..5d5ea6d 100644 --- a/Pipfile +++ b/Pipfile @@ -6,6 +6,7 @@ verify_ssl = true [dev-packages] pyinstaller = "*" pywin32-ctypes = "*" +pytest = "*" [packages] diff --git a/Pipfile.lock b/Pipfile.lock index 1f17f28..e244603 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "cb7404241f792d6dbcebd8c292450995636b234d4f2788dc2f9a610273d8693e" + "sha256": "4712f60751f2ecd1c2eb6641d3aaa0166ba473a215ee98c14ef041846220e656" }, "pipfile-spec": 6, "requires": { @@ -24,6 +24,30 @@ ], "version": "==0.17" }, + "atomicwrites": { + "hashes": [ + "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197", + "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a" + ], + "markers": "sys_platform == 'win32'", + "version": "==1.4.0" + }, + "attrs": { + "hashes": [ + "sha256:26b54ddbbb9ee1d34d5d3668dd37d6cf74990ab23c828c2888dccdceee395594", + "sha256:fce7fc47dfc976152e82d53ff92fa0407700c21acd20886a13777a0d20e655dc" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==20.2.0" + }, + "colorama": { + "hashes": [ + "sha256:7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff", + "sha256:e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1" + ], + "markers": "sys_platform == 'win32'", + "version": "==0.4.3" + }, "future": { "hashes": [ "sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d" @@ -31,6 +55,21 @@ "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==0.18.2" }, + "iniconfig": { + "hashes": [ + "sha256:80cf40c597eb564e86346103f609d74efce0f6b4d4f30ec8ce9e2c26411ba437", + "sha256:e5f92f89355a67de0595932a6c6c02ab4afddc6fcdc0bfc5becd0d60884d3f69" + ], + "version": "==1.0.1" + }, + "packaging": { + "hashes": [ + "sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8", + "sha256:998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==20.4" + }, "pefile": { "hashes": [ "sha256:a5d6e8305c6b210849b47a6174ddf9c452b2888340b8177874b862ba6c207645" @@ -38,6 +77,22 @@ "markers": "sys_platform == 'win32'", "version": "==2019.4.18" }, + "pluggy": { + "hashes": [ + "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0", + "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==0.13.1" + }, + "py": { + "hashes": [ + "sha256:366389d1db726cd2fcfc79732e75410e5fe4d31db13692115529d34069a043c2", + "sha256:9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==1.9.0" + }, "pyinstaller": { "hashes": [ "sha256:970beb07115761d5e4ec317c1351b712fd90ae7f23994db914c633281f99bab0" @@ -52,6 +107,22 @@ ], "version": "==2020.9" }, + "pyparsing": { + "hashes": [ + "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1", + "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b" + ], + "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==2.4.7" + }, + "pytest": { + "hashes": [ + "sha256:7a8190790c17d79a11f847fba0b004ee9a8122582ebff4729a082c109e81a4c9", + "sha256:8f593023c1a0f916110285b6efd7f99db07d59546e3d8c36fc60e2ab05d3be92" + ], + "index": "pypi", + "version": "==6.1.1" + }, "pywin32-ctypes": { "hashes": [ "sha256:24ffc3b341d457d48e8922352130cf2644024a4ff09762a2261fd34c36ee5942", @@ -59,6 +130,21 @@ ], "index": "pypi", "version": "==0.2.0" + }, + "six": { + "hashes": [ + "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259", + "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==1.15.0" + }, + "toml": { + "hashes": [ + "sha256:926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f", + "sha256:bda89d5935c2eac546d648028b9901107a595863cb36bae0c73ac804a9b4ce88" + ], + "version": "==0.10.1" } } } diff --git a/README.md b/README.md index 0154d45..eb9acad 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,11 @@ To install: $ pip install stock-position-calc ``` +To upgrade: +```console +$ pip install stock-position-calc --upgrade +``` + For some Linux distributions you will need to install the tkinter package: ```console $ sudo apt update @@ -31,7 +36,7 @@ Windows: ```console $ git clone https://github.com/zaironjacobs/stock-position-calc.git $ cd stock-position-calc -$ pipenv install +$ pipenv install --dev $ pipenv run pyinstaller stock_position_calc/app.py --onefile --windowed ``` @@ -39,7 +44,7 @@ Linux: ```console $ git clone https://github.com/zaironjacobs/stock-position-calc.git $ cd stock-position-calc -$ pipenv install +$ pipenv install --dev $ pipenv run pyinstaller stock_position_calc/app.py --onefile --windowed $ sudo chmod +x dist/app ``` diff --git a/setup.py b/setup.py index 08ea239..8a9a9d3 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ with open('README.md', 'r') as fh: long_description = fh.read() -version = '1.0.4' +version = '1.0.5' requires = [] diff --git a/stock_position_calc/__init__.py b/stock_position_calc/__init__.py index 8a81504..858de17 100644 --- a/stock_position_calc/__init__.py +++ b/stock_position_calc/__init__.py @@ -1 +1 @@ -__version__ = '1.0.4' +__version__ = '1.0.5'