mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-04-12 22:51:46 +03:00
The standard for package license metadata[1] is a SPDX identifier in the the `license` and that's all. So, updating that, remove the deprecated license classifier, and adding a tag at the top of the file for spdxcheck to find. 1. https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license Sponsored-by: TrueNAS Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <rob.norris@truenas.com> Closes #18356
63 lines
1.8 KiB
Python
63 lines
1.8 KiB
Python
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Copyright 2015 ClusterHQ
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
from setuptools import setup, find_packages
|
|
import os.path
|
|
|
|
srcdir = "@abs_top_srcdir@/contrib/pyzfs"
|
|
|
|
setup(
|
|
name="pyzfs",
|
|
version="@VERSION@",
|
|
description="Wrapper for libzfs_core",
|
|
author="ClusterHQ",
|
|
author_email="support@clusterhq.com",
|
|
url="http://pyzfs.readthedocs.org",
|
|
license="Apache-2.0",
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Topic :: System :: Filesystems",
|
|
"Topic :: Software Development :: Libraries",
|
|
],
|
|
keywords=[
|
|
"ZFS",
|
|
"OpenZFS",
|
|
"libzfs_core",
|
|
],
|
|
|
|
packages=find_packages(where=srcdir),
|
|
package_dir={"": os.path.relpath(srcdir)},
|
|
include_package_data=True,
|
|
install_requires=[
|
|
"cffi",
|
|
],
|
|
setup_requires=[
|
|
"cffi",
|
|
],
|
|
python_requires='>=3.6,<4',
|
|
zip_safe=False,
|
|
test_suite="libzfs_core.test",
|
|
)
|
|
|
|
# vim: softtabstop=4 tabstop=4 expandtab shiftwidth=4
|