Skip to content

Commit

Permalink
Add setuptools-scm(-git-archive) as extra deps
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Nov 25, 2018
1 parent e30cd20 commit b9e0c33
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
21 changes: 21 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ virtualenv = { version = "^16.0", python = "~2.7" }
# functools32 is needed for Python 2.7
functools32 = { version = "^3.2.3", python = "~2.7" }

# A list of all of the optional dependencies, some of which are included in the
# below `extras`. They can be opted into by apps.
setuptools-scm = { version = "^3.1.0", optional = true }
setuptools-scm-git-archive = { version = "^1.0", optional = true }


[tool.poetry.dev-dependencies]
pytest = "^3.4"
pytest-cov = "^2.5"
Expand All @@ -60,5 +66,12 @@ tox = "^3.0"
pytest-sugar = "^0.9.2"


[tool.poetry.extras]
scm-version-source = [
"setuptools-scm",
"setuptools-scm-git-archive",
]


[tool.poetry.scripts]
poetry = "poetry.console:main"

0 comments on commit b9e0c33

Please sign in to comment.