xref: /freebsd/sys/contrib/openzfs/contrib/pyzfs/setup.py.in (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1#
2# Copyright 2015 ClusterHQ
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#    http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16from setuptools import setup, find_packages
17import os.path
18
19srcdir = "@abs_top_srcdir@/contrib/pyzfs"
20
21setup(
22    name="pyzfs",
23    version="@VERSION@",
24    description="Wrapper for libzfs_core",
25    author="ClusterHQ",
26    author_email="support@clusterhq.com",
27    url="http://pyzfs.readthedocs.org",
28    license="Apache License, Version 2.0",
29    classifiers=[
30        "Development Status :: 4 - Beta",
31        "Intended Audience :: Developers",
32        "License :: OSI Approved :: Apache Software License",
33        "Programming Language :: Python :: 3",
34        "Programming Language :: Python :: 3.6",
35        "Programming Language :: Python :: 3.7",
36        "Programming Language :: Python :: 3.8",
37        "Programming Language :: Python :: 3.9",
38        "Programming Language :: Python :: 3.10",
39        "Topic :: System :: Filesystems",
40        "Topic :: Software Development :: Libraries",
41    ],
42    keywords=[
43        "ZFS",
44        "OpenZFS",
45        "libzfs_core",
46    ],
47
48    packages=find_packages(where=srcdir),
49    package_dir={"": os.path.relpath(srcdir)},
50    include_package_data=True,
51    install_requires=[
52        "cffi",
53    ],
54    setup_requires=[
55        "cffi",
56    ],
57    python_requires='>=3.6,<4',
58    zip_safe=False,
59    test_suite="libzfs_core.test",
60)
61
62# vim: softtabstop=4 tabstop=4 expandtab shiftwidth=4
63