Skip to content

Commit

Permalink
remove SPDX licenses (#71)
Browse files Browse the repository at this point in the history
* remove license

* update manifest
  • Loading branch information
tlambert03 authored Dec 18, 2021
1 parent 1fa80fa commit 8c140a4
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 440 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
include LICENSE
include README.md

recursive-include npe2 *.txt
include CHANGELOG.md

recursive-include tests *
recursive-exclude * __pycache__
Expand Down
4 changes: 0 additions & 4 deletions npe2/manifest/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import re
import sys
from contextlib import contextmanager
from enum import Enum
from importlib import util
from logging import getLogger
from pathlib import Path
Expand Down Expand Up @@ -36,8 +35,6 @@
if TYPE_CHECKING:
from importlib.metadata import EntryPoint

spdx_ids = (Path(__file__).parent / "spdx.txt").read_text().splitlines()
SPDX = Enum("SPDX", {i.replace("-", "_"): i for i in spdx_ids}) # type: ignore

logger = getLogger(__name__)

Expand Down Expand Up @@ -275,7 +272,6 @@ def from_file(cls, path: Union[Path, str]) -> PluginManifest:
return mf

class Config:
use_enum_values = True # only needed for SPDX
underscore_attrs_are_private = True
extra = Extra.forbid

Expand Down
Loading

0 comments on commit 8c140a4

Please sign in to comment.