Skip to content

Instantly share code, notes, and snippets.

@vivekjoshy
Created May 16, 2020 11:10
Show Gist options
  • Save vivekjoshy/7dcf9d32ead02fc1bc7a8add82ac5f95 to your computer and use it in GitHub Desktop.
Save vivekjoshy/7dcf9d32ead02fc1bc7a8add82ac5f95 to your computer and use it in GitHub Desktop.
Poetry not installiing extras defined in dev-dependencies.
[tool.poetry]
name = "fakelibrary"
version = "0.0.0"
license = "AGPL-3.0-only"
description = "A fake python libray."
authors = ["daegontaven <8206808+daegontaven@users.noreply.github.com>"]
readme = "README.md"
repository = "https://github.com/daegontaven/fakelibrary"
documentation = "https://fakelibrary.readthedocs.io"
keywords = ["poetry", "library", "fake", "system"]
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only"
]
packages = [
{ include = "fakelibrary" },
{ include = "tests" }
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
bump2version = "^1.0.0"
black = "^19.10b0"
Sphinx = { version = "^3.0.3", optional = true }
sphinx_rtd_theme = { version = "^0.4.3", optional = true }
sphinx-autorun = { version = "^1.1.1", optional = true }
pytest = {version = "^5.4.2", optional = true}
pytest-cov = {version = "^2.8.1", optional = true}
tox = {version = "^3.15.0", optional = true}
wheel = {version = "^0.34.2", optional = true}
[tool.poetry.scripts]
fakelibrary = 'fakelibrary.__main__:main'
[tool.poetry.extras]
docs = [
"Sphinx",
"sphinx_rtd_theme",
"sphinx-autorun"
]
tests = [
"pytest",
"pytest-cov",
"tox"
]
build_tools = [
"wheel"
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/daegontaven/fakelibrary/issues"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| tests/.*/setup.py
)/
'''
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment