Fix inconsistent mount options for ZFS root
[zfs.git] / contrib / pyzfs / setup.py.in
blob43a1accfaf02bc4c792400ab39b9834c6ed78b8d
2 # Copyright 2015 ClusterHQ
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 from setuptools import setup, find_packages
17 import os.path
19 srcdir = "@abs_top_srcdir@/contrib/pyzfs"
21 setup(
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",
42 keywords=[
43 "ZFS",
44 "OpenZFS",
45 "libzfs_core",
48 packages=find_packages(where=srcdir),
49 package_dir={"": os.path.relpath(srcdir)},
50 include_package_data=True,
51 install_requires=[
52 "cffi",
54 setup_requires=[
55 "cffi",
57 python_requires='>=3.6,<4',
58 zip_safe=False,
59 test_suite="libzfs_core.test",
62 # vim: softtabstop=4 tabstop=4 expandtab shiftwidth=4