-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (22 loc) · 769 Bytes
/
setup.py
File metadata and controls
27 lines (22 loc) · 769 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
"""Setup script"""
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
from Cython.Build import cythonize
import numpy as np
my_modules = cythonize("pysparselp/*.pyx", annotate=True)
libname = "pysparselp"
setup(
name=libname,
version="0.0.1",
author="Martin de La Gorce",
author_email="martin.delagorce@gmail.com",
description="Python algorithms to solve linear programming problems with with sparse matrices",
packages=find_packages(),
license="MIT",
ext_modules=my_modules, # additional source file(s)),
include_dirs=[np.get_include()],
package_data={"pysparselp": ["*.pyx"]},
install_requires=["numpy", "scipy"],
)