mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
36 lines
1.3 KiB
Python
36 lines
1.3 KiB
Python
#
|
|
# Copyright (C) 2012-2018 Red Hat, Inc. All rights reserved.
|
|
#
|
|
# This file is part of LVM2.
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation, either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
liblvm = Extension('lvm',
|
|
sources = ['liblvm_python.c'],
|
|
libraries= ['lvm2app', 'devmapper'],
|
|
library_dirs= ['@top_builddir@/liblvm', '@top_builddir@/libdm'],
|
|
include_dirs= ['@top_builddir@/include'])
|
|
|
|
setup (name='lvm',
|
|
version=@LVM_VERSION@,
|
|
description='Python bindings for liblvm2',
|
|
license="LGPLv2+",
|
|
maintainer='LVM2 maintainers',
|
|
maintainer_email='linux-lvm@redhat.com',
|
|
url='http://sourceware.org/lvm2/',
|
|
ext_modules=[liblvm],
|
|
)
|