forked from anyoptimization/pymoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (29 loc) · 1.05 KB
/
setup.py
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
28
29
30
31
32
33
34
35
36
import setuptools
from setuptools import Extension
from setup_ext import readme, run_setup
def get_extension_modules():
ext_modules = []
for f in ["info", "non_dominated_sorting_cython", "decomposition_cython", "calc_perpendicular_distance_cython"]:
ext_modules.append(Extension('pymoo.cython.%s' % f, sources=['pymoo/cython/%s.pyx' % f], language="c++"))
return ext_modules
__name__ = "pymoo"
__author__ = "Julian Blank"
__version__ = '0.2.5'
__url__ = "https://github.com/msu-coinlab/pymoo"
kwargs = dict(
name=__name__,
version=__version__,
author=__author__,
url=__url__,
python_requires='>3.3',
author_email="[email protected]",
description="Multi-Objective Optimization Algorithms",
long_description=readme(),
license='Apache License 2.0',
keywords="optimization",
packages=setuptools.find_packages(exclude=['tests', 'doc', 'experiments']),
install_requires=['pymop==0.2.4', 'numpy>=1.15', 'scipy>=1.1', 'matplotlib>=3'],
include_package_data=True,
platforms='any'
)
run_setup(kwargs)