summaryrefslogtreecommitdiff
path: root/setup.py
blob: 34899d53be8ccee748a9020cd846dc3fc8cc951e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from setuptools import setup, Extension, find_packages

setup(
    name='mscp',
    version = "0.0.1",
    description = "libmscp python binding",
    author = "Ryo Nakamura",
    author_email = "upa@haeena.net",
    url = "https://github.com/upa/mscp",
    packages = find_packages("mscp"),
    package_dir = {"": "mscp"},
    py_modules = [ "mscp" ],
    ext_modules = [
        Extension(
            'pymscp',
            ['src/pymscp.c'],
            library_dirs = ['build'],
            libraries = ['mscp'],
            include_dirs = ['include']
        )
    ]
)