-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.84 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
39
40
41
42
43
44
import setuptools
from numpy.distutils.core import setup, Extension
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()
#ext1 = Extension(name='magpie.src.utils', sources=['magpie/src/utils.f90'])
ext1 = Extension(name='magpie.src.remap_utils', sources=['magpie/src/remap_utils.f90'])
ext2 = Extension(name='magpie.src.remap_1d_grid2grid', sources=['magpie/src/remap_1d_grid2grid.f90'])
ext3 = Extension(name='magpie.src.remap_2d_grid2grid', sources=['magpie/src/remap_2d_grid2grid.f90'])
ext4 = Extension(name='magpie.src.remap_3d_grid2grid', sources=['magpie/src/remap_3d_grid2grid.f90'])
exts = [ext1, ext2, ext3, ext4]#, ext5]
setup(name = 'magpie-pkg',
version = '0.2.2',
description = "Monte cArlo weiGhted PIxel rEmapping",
long_description = long_description,
long_description_content_type = 'text/markdown',
url = 'https://github.com/knaidoo29/magpie',
author = "Krishna Naidoo",
author_email = "krishna.naidoo.11@ucl.ac.uk",
license='MIT',
packages=setuptools.find_packages(),
install_requires=['numpy', 'matplotlib', 'healpy'],
ext_modules = exts,
python_requires = '>=3',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Mathematics',
],
test_suite='nose.collector',
tests_require=['nose'],
)