setup.py 1.04 KB
Newer Older
Qusai Al Shidi's avatar
Qusai Al Shidi committed
1
2
3
4
5
6
7
#!/usr/bin/env python
"""Setup script through setuptools. Simply run `python setup.py` to install
swmfpy.
"""
import setuptools


8
9
10
11
12
with open('README.markdown') as fh_readme:
    LONG_DESCRIPTION = fh_readme.read()

with open('requirements.txt') as fh_requirements:
    REQUIREMENTS = list(fh_requirements)
Qusai Al Shidi's avatar
Qusai Al Shidi committed
13
14
15

setuptools.setup(
    name='swmfpy',
16
    version='2020.7',
Qusai Al Shidi's avatar
Qusai Al Shidi committed
17
18
19
20
21
22
23
24
25
26
27
28
29
    author='Qusai Al Shidi',
    author_email='qusai@umich.edu',
    description='''A collection of tools for the Space Weather Modelling
 Framework''',
    long_description=LONG_DESCRIPTION,
    long_description_content_type='text/markdown',
    url='https://gitlab.umich.edu/swmf_software/swmfpy',
    packages=setuptools.find_packages(),
    classifiers=[
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        ],
30
    install_requires=REQUIREMENTS,
Qusai Al Shidi's avatar
Qusai Al Shidi committed
31
32
33
    python_requires='>=3.6',
    extras_require={
        "tecplottools": "tecplot",
Qusai Al Shidi's avatar
Qusai Al Shidi committed
34
        "tecplottools": "h5py",
35
        "hmi": "drms",
Qusai Al Shidi's avatar
Qusai Al Shidi committed
36
        },
Qusai Al Shidi's avatar
Qusai Al Shidi committed
37
    )