forked from andrenarchy/krypy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (34 loc) · 1.11 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
37
38
# -*- coding: utf-8 -*-
import os
from distutils.core import setup
import codecs
# shamelessly copied from VoroPy
def read(fname):
try:
content = codecs.open(
os.path.join(os.path.dirname(__file__), fname),
encoding='utf-8'
).read()
except Exception:
content = ''
return content
from krypy import __version__
setup(name='krypy',
packages=['krypy', 'krypy.recycling'],
version=__version__,
description='Krylov subspace methods for linear systems',
long_description=read('README.rst'),
author='André Gaul',
author_email='[email protected]',
url='https://github.com/andrenarchy/krypy',
requires=['numpy (>=1.7)', 'scipy (>=0.13)'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Mathematics'
],
)