diff --git a/configure.ac b/configure.ac index cf0e1bf586..7a84c249a1 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/contrib/pyzfs/Makefile.am b/contrib/pyzfs/Makefile.am index 36290661f7..1549bf2379 100644 --- a/contrib/pyzfs/Makefile.am +++ b/contrib/pyzfs/Makefile.am @@ -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: diff --git a/contrib/pyzfs/requirements.txt b/contrib/pyzfs/requirements.txt deleted file mode 100644 index 6a88e4b7c8..0000000000 --- a/contrib/pyzfs/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -cffi diff --git a/contrib/pyzfs/setup.py b/contrib/pyzfs/setup.py.in similarity index 98% rename from contrib/pyzfs/setup.py rename to contrib/pyzfs/setup.py.in index 3ff6c04c69..bd8ffc728f 100644 --- a/contrib/pyzfs/setup.py +++ b/contrib/pyzfs/setup.py.in @@ -19,7 +19,7 @@ from setuptools import setup, find_packages setup( name="pyzfs", - version="1.0.0", + version="@VERSION@", description="Wrapper for libzfs_core", author="ClusterHQ", author_email="support@clusterhq.com",