File: setup.py

package info (click to toggle)
python-lxc 0.1-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 124 kB
  • sloc: ansic: 1,443; python: 308; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,411 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/python
#
# python-lxc: Python bindings for LXC
#
# (C) Copyright Canonical Ltd. 2012
#
# Authors:
# Stephane Graber <stgraber@ubuntu.com>
#
# This library 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 library 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 library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

from distutils.core import setup, Extension

module = Extension('_lxc', sources=['lxc.c'], libraries=['lxc'])

setup(name='lxc-python2',
      version='0.1',
      description='Python2 bindings for LXC',
      long_description='The lxc-python2 package contains lxc bindings for python2',
      license='LGPLv2+',
      maintainer='lxc',
      maintainer_email='lxc-devel@lists.linuxcontainers.org',
      url='git://github.com/lxc/python2-lxc',
      packages=['lxc'],
      package_dir={'lxc': 'lxc'},
      ext_modules=[module])