forked from eelregit/mcfit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
24 lines (22 loc) · 762 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
from setuptools import setup
def find_version(path):
with open(path, 'r') as fp:
file = fp.read()
import re
match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
file, re.M)
if match:
return match.group(1)
raise RuntimeError("Version not found")
setup(
name = 'mcfit',
version = find_version("mcfit/__init__.py"),
description = 'Multiplicatively convolutional fast integral transforms',
url = 'https://github.com/eelregit/mcfit',
author = 'Yin Li',
author_email = '[email protected]',
license = 'GPLv3',
keywords = 'numerical integral transform FFTLog cosmology',
packages = ['mcfit', 'mcfit.tests'],
install_requires = ['numpy', 'scipy', 'mpmath'],
)