-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
31 lines (29 loc) · 1.08 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
from setuptools import setup, find_packages, Extension
from Cython.Distutils import build_ext
from Cython.Build import cythonize
#cython = Extension('ea.cbenchmarks',
# sources = ['ea/cbenchmarks.pyx'],
## include_dirs = ['include/']
#)
#
cec2013single = Extension("cec2013single.cec2013",
["cec2013single/cec2013.pyx", "cec2013single/cec2013_func.c"],
libraries=["m"]) # Unix-like specific
setup(
name='cec2013single',
version='0.1',
author='Daniel Molina',
author_email='daniel.molina@uca.es',
description='Package for benchmark for the Real Single Objective Optimization session on IEEE Congress on Evolutionary Computation CEC\'2013',
long_description=open('README.rst').read(),
license='GPL V3',
packages=['cec2013single'],
install_requires=['cython', 'numpy'],
ext_modules=cythonize(cec2013single),
# ext_modules=cythonize('benchmarks.pyx', annotated=True),
cmdclass={'build_ext': build_ext},
# Packaging options.
#include_package_data = True,
# Tests
#tests_require=['pytest'],
)