Poetry: Licence missing from .egg-info

Created on 6 Jul 2020  路  2Comments  路  Source: python-poetry/poetry

  • [ x ] I am on the latest Poetry version.
  • [ x ] I have searched the issues of this repo and believe that this is not a duplicate.
  • OS version and name: Windows 10
  • Poetry version: 1.0.9


pyproject.toml

[tool.poetry]
name = "my-project"
version = "0.1.0"
description = "A description"
authors = ["Name "]
license = "MIT"
readme = "README.md"
homepage = "repo"
repository = "repo"
keywords = ["a", "b", "b"]

[tool.poetry.dependencies]
python = "^3.8"
pandas = "^1.0.5"
numpy = "^1.19.0"
requests = "^2.24.0"
click = "^7.1.2"
retry = "^0.9.2"
tqdm = "^4.47.0"

[tool.poetry.dev-dependencies]
black = "^19.10b0"
mypy = "^0.782"
sphinx = "^3.1.1"
pytest = "^5.4.3"
coverage = {extras = ["toml"], version = "^5.1"}
pytest-cov = "^2.10.0"
pytest-mock = "^3.1.1"
sphinx-autodoc-typehints = "^1.11.0"
nox = "^2020.5.24"
flake8-annotations = "^2.1.0"
flake8-bandit = "^2.1.2"
flake8-black = "^0.2.0"
flake8-docstrings = "^1.5.0"
flake8-import-order = "^0.18.1"
safety = "^1.9.0"
darglint = "^1.4.1"
wemake-python-styleguide = "^0.14.0"
xdoctest = "^0.12.0"
bump2version = "^1.0.0"
sphinx_autodoc_typehints = "^1.11.0"
isort = "^5.0.3"

[tool.black]
line-length = 79
exclude = '''
(
/(
.eggs
| .git
| .hg
| .mypy_cache
| .tox
| .venv
| _build
| buck-out
| build
| dist
)/
)
'''

[tool.coverage.paths]
source = ["src", "*/site-packages"]

[tool.coverage.run]
branch = true
source = ["project"]

[tool.coverage.report]
show_missing = true

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

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

Issue

I noticed that the licence is currently missing on the .egg-info generated by the install function.
Currently, it shows up as License: UNKNOWN.
However, when using Poetry build, the licence does shows up.
Inquiring if this is normal behavior, thanks for the response

Bug

Most helpful comment

We have confirmed that this issue has been fixed in __1.1.0b1.__

I suggest you run poetry self update --preview to install the pre-release version.

All 2 comments

We have confirmed that this issue has been fixed in __1.1.0b1.__

I suggest you run poetry self update --preview to install the pre-release version.

Yes, thanks for the reply!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ambv picture ambv  路  3Comments

probablykasper picture probablykasper  路  3Comments

sobolevn picture sobolevn  路  3Comments

AWegnerGitHub picture AWegnerGitHub  路  3Comments

jackemuk picture jackemuk  路  3Comments