Use ZFS version for pyzfs & drop unused reqs file

Now that 'pyzfs' is part of the ZFS codebase, it should be
versioned the same as the rest of the source tree. This eliminates
confusion on what version of the bindings are being used, especially
for dependent Python projects that may use the Python dist metadata
to identify compatible versions of pyzfs to work from.

In addition, a trivial change to drop the unused requirements.txt
file is included, simply because it's unused and a leftover from
before it was imported into the ZFS codebase and wired into the
autotools build scripts.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes #8243
This commit is contained in:
Neal Gompa (ニール・ゴンパ) 2019-01-08 18:56:42 -05:00 committed by Brian Behlendorf
parent 0f5f23869a
commit 9ef798b771
4 changed files with 3 additions and 3 deletions

View File

@ -131,6 +131,7 @@ AC_CONFIG_FILES([
contrib/initramfs/scripts/Makefile
contrib/initramfs/scripts/local-top/Makefile
contrib/pyzfs/Makefile
contrib/pyzfs/setup.py
module/Makefile
module/avl/Makefile
module/nvpair/Makefile

View File

@ -1,4 +1,4 @@
EXTRA_DIST = libzfs_core setup.py README LICENSE docs
EXTRA_DIST = libzfs_core setup.py.in README LICENSE docs
if PYZFS_ENABLED
all:

View File

@ -1 +0,0 @@
cffi

View File

@ -19,7 +19,7 @@
setup(
name="pyzfs",
version="1.0.0",
version="@VERSION@",
description="Wrapper for libzfs_core",
author="ClusterHQ",
author_email="support@clusterhq.com",