Skip to content

Commit a5f78b3

Browse files
committed
Handle warnings in modern setuptools versions
1 parent 0df9285 commit a5f78b3

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019-2022 Benedikt Reinartz
3+
Copyright (c) 2019-2026 Benedikt Reinartz
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "clr_loader"
77
description = "Generic pure Python loader for .NET runtimes"
8-
license = {text = "MIT"}
8+
license-files = ["LICENSE"]
99
requires-python = ">=3.7"
1010

1111
readme = "README.md"
@@ -18,7 +18,6 @@ dependencies = [
1818
classifiers = [
1919
"Development Status :: 4 - Beta",
2020
"Intended Audience :: Developers",
21-
"License :: OSI Approved :: MIT License",
2221
"Programming Language :: Python :: 3",
2322
"Operating System :: Microsoft :: Windows",
2423
"Operating System :: POSIX :: Linux",
@@ -48,7 +47,6 @@ doc = [
4847
[tool.setuptools]
4948
zip-safe = false
5049
package-data = {"clr_loader.ffi" = ["dlls/x86/*.dll", "dlls/amd64/*.dll"]}
51-
license-files = []
5250

5351
[tool.setuptools.packages.find]
5452
include = ["clr_loader*"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import distutils
44
from distutils.command.build import build as _build
55
from setuptools.command.develop import develop as _develop
6-
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
6+
from setuptools.command.bdist_wheel import bdist_wheel as _bdist_wheel
77
from setuptools import Distribution
88
from setuptools import setup, Command
99

0 commit comments

Comments
 (0)