-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
26 lines (23 loc) · 818 Bytes
/
setup.py
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
#!/usr/bin/env python
from glob import glob
import os
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
def getfile():
try:
return __file__
except NameError:
import inspect
return inspect.getsourcefile(getfile)
setup_dir = os.path.dirname(getfile())
print setup_dir
from numpy.distutils.core import setup
setup(name='simple_rpc',
version='0.1',
description='Simple RPC C++ --- a simple RPC wrapper generator to C/C++ functions',
author='Pearu Peterson',
author_email='pearu.peterson@gmail.com',
url='http://code.google.com/p/simple-rpc-cpp/',
packages=['simple_rpc'],
scripts = [os.path.join(setup_dir, 'scripts/simple_rpc')],
data_files=[('simple_rpc/include', glob(os.path.join(setup_dir,'simple_rpc','include','*.hpp')))]
)