File: setup.py

package info (click to toggle)
sanlock 2.2-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,124 kB
  • ctags: 1,917
  • sloc: ansic: 12,971; python: 896; sh: 440; makefile: 227
file content (19 lines) | stat: -rw-r--r-- 651 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2010-2011 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.

from distutils.core import setup, Extension

sanlocklib = ['sanlock']
sanlock = Extension(name = 'sanlock',
                       sources = ['sanlock.c'],
                       include_dirs = ['../src'],
                       library_dirs = ['../src'],
                       libraries = sanlocklib)

setup(name = 'Sanlock',
      version = '1.0',
      description = 'Sanlock python package',
      ext_modules = [sanlock])