]> git.proxmox.com Git - mirror_lxc.git/blob - src/python-lxc/setup.py
licensing: Add missing headers and FSF address
[mirror_lxc.git] / src / python-lxc / setup.py
1 #!/usr/bin/python3
2 #
3 # python-lxc: Python bindings for LXC
4 #
5 # (C) Copyright Canonical Ltd. 2012
6 #
7 # Authors:
8 # Stéphane Graber <stgraber@ubuntu.com>
9 #
10 # This library is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU Lesser General Public
12 # License as published by the Free Software Foundation; either
13 # version 2.1 of the License, or (at your option) any later version.
14 #
15 # This library is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 # Lesser General Public License for more details.
19 #
20 # You should have received a copy of the GNU Lesser General Public
21 # License along with this library; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
24 from distutils.core import setup, Extension
25
26 module = Extension('_lxc', sources=['lxc.c'], libraries=['lxc'])
27
28 setup(name='_lxc',
29 version='0.1',
30 description='LXC',
31 packages=['lxc'],
32 package_dir={'lxc': 'lxc'},
33 ext_modules=[module])