-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (25 loc) · 777 Bytes
/
setup.py
File metadata and controls
28 lines (25 loc) · 777 Bytes
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
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '.pyrex'))
from setuptools import setup, Extension
from distutils.cmd import Command
from distutils.command.clean import clean as _clean
from Cython.Distutils import build_ext
setup (
name = 'ceph',
version = '0.1',
description = 'Bindings for the Ceph libraries written using Cython',
long_description = '',
author = 'Damien Churchill',
author_email = 'damoxc@gmail.com',
license = 'GPLv2',
url = '',
cmdclass = {
'build_ext': build_ext,
},
zip_safe = False,
ext_modules = [
Extension('ceph.rados', ['ceph/rados.pyx'], libraries = ['rados']),
Extension('ceph.rbd', ['ceph/rbd.pyx'], libraries = ['rados', 'rbd'])
]
)