-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (24 loc) · 900 Bytes
/
setup.py
File metadata and controls
37 lines (24 loc) · 900 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
29
30
31
32
33
34
35
36
37
'''
cpress - python bindings
-------------------------------------------------------------------------------
Installation:
python2 setup.py install
Usage:
Import module with:
from cpress import *
See self-explanatory file `examples/example.py` for more informations.
-------------------------------------------------------------------------------
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Repository: https://github.com/solusipse/cpress
-------------------------------------------------------------------------------
'''
from distutils.core import setup, Extension
import os
module1 = Extension('_cpress',
sources = ['src/cpress.c'])
setup (name = 'cpress',
version = '0.1',
description = 'Python binding for cpress library',
package_dir={'cpress': 'python'},
packages = ['cpress'],
ext_modules = [module1])