forked from shubhampachori12110095/DFLsklearn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (26 loc) · 917 Bytes
/
setup.py
File metadata and controls
35 lines (26 loc) · 917 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
28
29
30
31
32
33
34
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Oct 11 10:59:25 2017
@authors: V. Latorre, F. Benvenuto
"""
import setuptools
from numpy.distutils.core import Extension
from numpy.distutils.core import setup
import numpy
import distutils
ext= Extension(name = 'dfl',
sources = ['./Fortran_codes/main_box.f90','./Fortran_codes/sd.f90','./Fortran_codes/dfl.pyf'])
if __name__ == "__main__":
setup(name = 'DFL',
description = "Derivative free linesearch code",
version="0.1",
ext_modules = [ext]
)
setup(name="DFLsklearn",
version="0.1",
author = "Vittorio Latorre, Federico Benvenuto",
author_email = "latorre@dima.unige.it, benvenuto@dima.unige.it",
py_modules=['DFLsklearn'],
zip_safe = False
)