ripopt 0.6.2

A memory-safe interior point optimizer in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Setup script that forces platform-specific wheels.

The ripopt binary bundled in pyomo_ripopt/bin/ is platform-specific,
so wheels must be tagged per-platform. The empty Extension trick
tells setuptools this is not a pure-Python package.
"""
from setuptools import setup
from setuptools.dist import Distribution


class BinaryDistribution(Distribution):
    """Force platform-specific wheel (not pure Python)."""
    def has_ext_modules(self):
        return True


setup(distclass=BinaryDistribution)