]>
Commit | Line | Data |
---|---|---|
85ce3f4f | 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 | # | |
6abf9225 | 16 | from setuptools import setup, find_packages |
50d2c9e4 AZ |
17 | import os.path |
18 | ||
19 | srcdir = "@abs_top_srcdir@/contrib/pyzfs" | |
6abf9225 AG |
20 | |
21 | setup( | |
22 | name="pyzfs", | |
9ef798b7 | 23 | version="@VERSION@", |
6abf9225 AG |
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", | |
6e72a5b9 | 33 | "Programming Language :: Python :: 3", |
6e72a5b9 BB |
34 | "Programming Language :: Python :: 3.6", |
35 | "Programming Language :: Python :: 3.7", | |
8a7c4efd DS |
36 | "Programming Language :: Python :: 3.8", |
37 | "Programming Language :: Python :: 3.9", | |
38 | "Programming Language :: Python :: 3.10", | |
6abf9225 AG |
39 | "Topic :: System :: Filesystems", |
40 | "Topic :: Software Development :: Libraries", | |
41 | ], | |
42 | keywords=[ | |
43 | "ZFS", | |
44 | "OpenZFS", | |
45 | "libzfs_core", | |
46 | ], | |
47 | ||
50d2c9e4 AZ |
48 | packages=find_packages(where=srcdir), |
49 | package_dir={"": os.path.relpath(srcdir)}, | |
6abf9225 AG |
50 | include_package_data=True, |
51 | install_requires=[ | |
52 | "cffi", | |
53 | ], | |
54 | setup_requires=[ | |
55 | "cffi", | |
56 | ], | |
8a7c4efd | 57 | python_requires='>=3.6,<4', |
6abf9225 AG |
58 | zip_safe=False, |
59 | test_suite="libzfs_core.test", | |
60 | ) | |
61 | ||
62 | # vim: softtabstop=4 tabstop=4 expandtab shiftwidth=4 |