-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
37 lines (32 loc) · 907 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
27
28
29
30
31
32
33
34
35
36
37
import numpy as np
import os
import sys
from setuptools import setup, Extension, Command
class CleanCommand(Command):
"""Custom clean command to tidy up the project root."""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
#compile_args = ['-std=c++11', '-O3']#, '-march=native']
setup(name='adpy',
version='0.2',
description='adpy',
author='Chaitanya Talnikar',
author_email='talnikar@mit.edu',
packages=['adpy'],
package_data={
'adpy': ['gencode/*', 'cpp/*.cpp', 'cpp/*.py', 'cpp/include/*', 'cpp/module/*'],
},
include_package_data=True,
install_requires=[
'numpy >= 1.8.2',
'pytest',
],
cmdclass={
'clean': CleanCommand,
}
)