← All tasks
pythonactiveloopai/deeplake #1981Not a task: already works

[FEATURE] Add license in PyPI packages

envgap__activeloopai__deeplake-1981

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
4233bb5c09233da48e42155769d02a189e55daad
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

activeloopai/deeplake #1981 · read the original issue
## 🚨🚨 Feature Request



- [x] A new implementation (Improvement) 



### Is your feature request related to a problem?



deeplake, hub and libdeeplake currently use [Mozilla Public License](https://www.mozilla.org/en-US/MPL/) (MPL). However they do not advertise their license in their respective PyPI packages. This makes automatic license checks (`liccheck`) fail. 



### Description of the possible solution



Add license and license classifiers in `setup.cfg` for hub, deeplake and libdeeplake.

Syntax:

> setup.cfg

```

[metadata]

license = MPL 2.0

license_file = LICENSE

classifiers = 

	License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)

```



References:

- https://setuptools.pypa.io/en/latest/deprecated/distutils/setupscript.html#additional-meta-data

- https://pypi.org/classifiers/

- https://github.com/SethMMorton/natsort/blob/master/setup.cfg
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]