aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/pyzfs/setup.py
diff options
context:
space:
mode:
authorNeal Gompa (ニール・ゴンパ) <[email protected]>2019-01-08 18:56:42 -0500
committerBrian Behlendorf <[email protected]>2019-01-08 15:56:42 -0800
commit9ef798b771b9b40968e207ad2a02092717dd628e (patch)
tree93149047a21142a164292e0db1f58bb2077d6a56 /contrib/pyzfs/setup.py
parent0f5f23869a64ec12b1744ee3df25816c712667d2 (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Neal Gompa <[email protected]> Closes #8243
Diffstat (limited to 'contrib/pyzfs/setup.py')
-rw-r--r--contrib/pyzfs/setup.py61
1 files changed, 0 insertions, 61 deletions
diff --git a/contrib/pyzfs/setup.py b/contrib/pyzfs/setup.py
deleted file mode 100644
index 3ff6c04c6..000000000
--- a/contrib/pyzfs/setup.py
+++ /dev/null
@@ -1,61 +0,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 __future__ import absolute_import, division, print_function
-
-from setuptools import setup, find_packages
-
-setup(
- name="pyzfs",
- version="1.0.0",
- description="Wrapper for libzfs_core",
- author="ClusterHQ",
- author_email="[email protected]",
- url="http://pyzfs.readthedocs.org",
- license="Apache License, Version 2.0",
- classifiers=[
- "Development Status :: 4 - Beta",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: Apache Software License",
- "Programming Language :: Python :: 2",
- "Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.4",
- "Programming Language :: Python :: 3.5",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
- "Topic :: System :: Filesystems",
- "Topic :: Software Development :: Libraries",
- ],
- keywords=[
- "ZFS",
- "OpenZFS",
- "libzfs_core",
- ],
-
- packages=find_packages(),
- include_package_data=True,
- install_requires=[
- "cffi",
- ],
- setup_requires=[
- "cffi",
- ],
- python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,<4',
- zip_safe=False,
- test_suite="libzfs_core.test",
-)
-
-# vim: softtabstop=4 tabstop=4 expandtab shiftwidth=4