-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix documentation and release action (#59)
* Add details to pyproject.toml and fix docs dependency * restricted publish to when releases are published
- Loading branch information
1 parent
51e5433
commit 27c3485
Showing
4 changed files
with
21 additions
and
9 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ version: 2 | |
formats: all | ||
python: | ||
install: | ||
- path: . | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs |
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 @@ | ||
[tool.poetry] | ||
name = "wbdata" | ||
version = "0.3.0" | ||
version = "0.3.0.post" | ||
description = "A library to access World Bank data" | ||
authors = ["Oliver Sherouse <[email protected]>"] | ||
license = "GPL-2.0+" | ||
|
@@ -12,25 +12,34 @@ classifiers = [ | |
"Topic :: Scientific/Engineering", | ||
] | ||
|
||
repository = "https://github.com/OliverSherouse/wbdata" | ||
documentation = "https://wbdata.readthedocs.io/" | ||
keywords = ["World Bank", "data", "economics"] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.6" | ||
decorator = ">=4.0" | ||
requests = ">=2.0" | ||
pandas = {version = ">=0.17", optional=true} | ||
sphinx = {version = ">=2.2", optional=true} | ||
tabulate = ">=0.8.5" | ||
appdirs = "^1.4" | ||
appdirs = ">=1.4" | ||
|
||
pandas = {version = ">=0.17", optional=true} | ||
sphinx = {version = "^3.0.3", optional=true} | ||
recommonmark = {version = "^0.6.0", optional=true} | ||
ipython = {version = "^7.16.1", optional=true} | ||
|
||
[tool.poetry.extras] | ||
pandas = ["pandas"] | ||
docs = ["sphinx", "recommonmark", "ipython"] | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest-flake8 = ">=1.0" | ||
ipython = ">=7.8" | ||
pytest-flake8 = "^=1.0.6" | ||
ipython = "^=7.16.1" | ||
flake8-bugbear = "^20.1.4" | ||
sphinx = "^3.0.3" | ||
recommonmark = "^0.6.0" | ||
flake8 = "^3.8.3" | ||
pytest = "^5.4.3" | ||
|
||
[build-system] | ||
requires = ["poetry>=0.12"] | ||
|
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