You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
514 B
Python

4 years ago
from distutils.core import setup, Extension
nlopt_module = Extension('_nlopt',
sources=['nlopt-python.cpp'],
libraries=['libnlopt-0'],
)
import numpy
setup (name = 'nlopt',
version = '2.4.2',
author = "Steven G. Johnson",
description = """NLopt nonlinear-optimization library""",
ext_modules = [nlopt_module],
py_modules = ["nlopt"],
include_dirs = ['.', numpy.get_include()],
)