Commit 224c61b8 authored by Stephen Thompson's avatar Stephen Thompson

Issue #1 changed setup.py.in to use setuptools

parent e9bc9bfd
from distutils.core import setup, Extension
import setuptools
import sys
mac_indicator = 'darwin'
linux_indicator = 'linux'
windows_indicator = 'win'
......@@ -14,7 +13,7 @@ if platform.startswith(mac_indicator):
extra_link_args.append('-rpath') # tell linker to resolve RPATH to:
extra_link_args.append(cxx_library_dir) # cxx_library_dir, on Mac
ndicapy = Extension('ndicapy',
ndicapy = setuptools.Extension('ndicapy',
sources=[
'ndicapi.cxx',
'ndicapi_math.cxx',
......@@ -28,7 +27,7 @@ ndicapy = Extension('ndicapy',
runtime_library_dirs=[cxx_library_dir],
)
setup(name='ndicapi',
setuptools.setup(name='ndicapi',
version='3.2',
description='This package allows interfacing with NDI tracking devices',
ext_modules=[ndicapy]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment