-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·28 lines (24 loc) · 1.01 KB
/
setup.py
File metadata and controls
executable file
·28 lines (24 loc) · 1.01 KB
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
#!/usr/bin/python
#-*- coding: utf-8 -*-
from distutils.core import setup, Extension
import os
import sys
prefix = os.environ.get("prefix", "/usr")
from distutils.core import setup, Extension
import subprocess as S
setup(name="pypolkit",
version="1.0.2",
description="Python bindings for polkit-1",
long_description="Python bindings for polkit-1",
license="GNU GPL2",
author="Bahadır Kandemir",
author_email="bahadir@pardus.org.tr",
url="http://svn.pardus.org.tr/uludag/trunk/python-polkit/",
py_modules = ["polkit"],
ext_modules = [Extension('_polkit',
sources=['pypolkit.c'],
include_dirs=["/usr/include/polkit-1", "/usr/include/glib-2.0", "/usr/lib/glib-2.0/include"],
libraries=["polkit-gobject-1", "gio-2.0", "gobject-2.0", "gmodule-2.0", "gthread-2.0", "pthread", "rt", "glib-2.0"],
library_dirs=[],
)],
)