-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
35 lines (30 loc) · 1015 Bytes
/
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
import os
from distutils.core import setup
from setuptools import find_packages
descr = 'Implicit regularization for convex problems'
version = None
with open(os.path.join('iterreg', '__init__.py'), 'r') as fid:
for line in (line.strip() for line in fid):
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip('\'')
break
if version is None:
raise RuntimeError('Could not determine version')
DISTNAME = 'iterreg'
DESCRIPTION = descr
MAINTAINER = 'Mathurin Massias'
MAINTAINER_EMAIL = '[email protected]'
LICENSE = 'BSD (3-clause)'
DOWNLOAD_URL = 'https://github.com/LCSL/iterreg.git'
VERSION = version
setup(name='iterreg',
version=VERSION,
description=DESCRIPTION,
license=LICENSE,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
install_requires=[
"matplotlib", "numba", "numpy", "scipy", "celer>=0.6.1"],
download_url=DOWNLOAD_URL,
packages=find_packages(),
)