This repository has been archived by the owner on Sep 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glpk: no longer require cython for test
cython -> c conversion done ahead of time
- Loading branch information
Showing
4 changed files
with
2,913 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
from setuptools import setup, Extension | ||
from os import environ | ||
|
||
from Cython.Build import cythonize | ||
|
||
module = Extension("spam", | ||
sources=["spam.pyx"], | ||
sources=["spam.c"], | ||
include_dirs=[environ.get("LIBRARY_INC", "")], | ||
library_dirs=[environ.get("LIBRARY_LIB", "")], | ||
libraries=["glpk"] | ||
) | ||
|
||
setup(name="spam", | ||
test_suite="spam.suite", | ||
ext_modules=cythonize([module])) | ||
ext_modules=[module]) |
Oops, something went wrong.