juliaturc commited on
Commit
4ac96aa
·
1 Parent(s): e3871e2

Update pyproject.toml

Browse files

Fixing this error when installing via `pipx`:

```
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [87 lines of output]
configuration error: `tool.setuptools.package-data` keys must be named by:

at least one of the following:
- {type: string, format: 'python-module-name'}
- {predefined value: '*'}

DESCRIPTION:
Mapping from package names to lists of glob patterns. Usually this option is
not needed when using ``include-package-data = true`` For more information
on how to include data files, check ``setuptools`` `docs
<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.

GIVEN VALUE:
{
"sample-exclude.txt": [
"sage"
]
}

OFFENDING RULE: 'propertyNames'
```

Files changed (1) hide show
  1. pyproject.toml +1 -1
pyproject.toml CHANGED
@@ -67,7 +67,7 @@ sage-index = "sage.index:main"
67
  sage-chat = "sage.chat:main"
68
 
69
  [tool.setuptools.package-data]
70
- "sample-exclude.txt" = ["sage"]
71
 
72
  [tool.setuptools.packages]
73
  find = {}
 
67
  sage-chat = "sage.chat:main"
68
 
69
  [tool.setuptools.package-data]
70
+ "sage" = ["sample-exclude.txt"]
71
 
72
  [tool.setuptools.packages]
73
  find = {}