-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (26 loc) · 855 Bytes
/
setup.py
File metadata and controls
29 lines (26 loc) · 855 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
#import os, sys
#from distutils.core import setup, Extension
#from distutils import sysconfig
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext
import sys
import setuptools
matext_module = Extension(
'matext', sources = ['src/matrix.cpp', 'src/vector.cpp', 'src/main.cpp'],
include_dirs=['pybind11/include', 'include'],
language='c++',
)
setup(
name = 'matext',
version = '0.1',
description = 'C++ Extension for Python implementing Vector and Matrix classes',
url='https://github.com/laszloturanyi/matext',
author='Laszlo Turanyi',
author_email='turanyilaszlo95@gmail.com',
license='MIT',
setup_requires=['pybind11>=2.2'],
install_requires=['pybind11>=2.2',
'numpy>=1.18.3',
],
ext_modules = [matext_module],
)