From 5dc1bfdb935447b4da1d16b03d3f253cada6e0a5 Mon Sep 17 00:00:00 2001 From: Andy Geach Date: Sat, 2 Oct 2021 16:43:41 +0100 Subject: [PATCH 1/4] sphinx is a development dependency --- pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0bf7b58..69a028c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,8 +37,6 @@ six = "^1.15" pandas = { version = "^1", optional = true } munch = { version = "^2.5", optional = true } tenacity = { version = "^7.0", optional = true } -Sphinx = { version = "^4.0.3", optional = true } -sphinx-rtd-theme = { version = "^0.5.2", optional = true } [tool.poetry.extras] pandas = ["pandas"] @@ -53,8 +51,8 @@ docs = [ flake8 = "^3.9" pytest = "^6.2" responses = "^0.12" -coverage = "^5.5" coveralls = "^3.2" +sphinx-rtd-theme = {version = "^1.0.0", optional = true} [tool.poetry.urls] "Issues" = "https://github.com/ig-python/ig-markets-api-python-library/issues" From 82c76e1fea71277221ae9b3d9118f3dc640beb21 Mon Sep 17 00:00:00 2001 From: Andy Geach Date: Sat, 2 Oct 2021 16:43:56 +0100 Subject: [PATCH 2/4] removing tox config --- tox.ini | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 tox.ini diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 7d1a6da..0000000 --- a/tox.ini +++ /dev/null @@ -1,12 +0,0 @@ -# Tox (http://tox.testrun.org/) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. - -[tox] -envlist = py27, py33 - -[testenv] -commands = nosetests -s -v -deps = - nose From 60cc20ef92805502db3c67a88130ae9ad2211dac Mon Sep 17 00:00:00 2001 From: Andy Geach Date: Sat, 2 Oct 2021 17:05:00 +0100 Subject: [PATCH 3/4] minor doc changes --- README.rst | 2 +- docs/source/faq.rst | 2 +- docs/source/index.rst | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 9c887a0..e6328fd 100644 --- a/README.rst +++ b/README.rst @@ -37,7 +37,7 @@ trading_ig ========== -A lightweight wrapper for the IG Markets API written in Python. Simplifies access to the IG REST and Streaming APIs +A lightweight Python wrapper for the IG Markets API. Simplifies access to the IG REST and Streaming APIs with a live or demo account. What is it? diff --git a/docs/source/faq.rst b/docs/source/faq.rst index d22b5d2..521b62b 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -248,7 +248,7 @@ If you're sure that the problem is with this library, please: * dependencies and their versions * the full output trace including the error messages -Any issues created without this information will be ignored and/or closed without response +An issue without all this information may be ignored and/or closed without response Why are there both ``setup.py`` and ``pyproject.toml`` files? diff --git a/docs/source/index.rst b/docs/source/index.rst index 857fa22..2fd4e9e 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,7 +1,7 @@ trading_ig ========== -A lightweight wrapper for the IG Markets API written in Python. Simplifies access to the IG REST and Streaming APIs +A lightweight Python wrapper for the IG Markets API. Simplifies access to the IG REST and Streaming APIs with a live or demo account. What is it? diff --git a/pyproject.toml b/pyproject.toml index 69a028c..f8006c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "trading_ig" version = "0.0.12" -description = "A lightweight wrapper for the IG Markets API written in Python" +description = "A lightweight Python wrapper for the IG Markets API" authors = ["Femto Trader "] maintainers = ["Andy Geach "] license = "BSD-3-Clause" diff --git a/setup.py b/setup.py index ccd0dca..9b097b9 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ def readme(): # https://packaging.python.org/en/latest/development.html#single-sourcing-the-version # version='0.0.1', version=__version__, - description="A lightweight wrapper for the IG Markets API written in Python", + description="A lightweight Python wrapper for the IG Markets API", long_description=readme(), # The project's main homepage. url=__url__, From 7341e06ee9b7b57a852ddd94f1c3b43f3bbd8f3e Mon Sep 17 00:00:00 2001 From: Andy Geach Date: Sat, 2 Oct 2021 17:05:18 +0100 Subject: [PATCH 4/4] ignoring .env directory --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index db93edf..80dffa3 100644 --- a/.gitignore +++ b/.gitignore @@ -73,6 +73,7 @@ Pipfile.lock # env .github/.env .python-version +.env/ .vscode