Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

setup.py 1.08 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
    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(),
Qusai Al Shidi's avatar
Qusai Al Shidi committed
25
    license='LGPLv3',
Qusai Al Shidi's avatar
Qusai Al Shidi committed
26
27
    classifiers=[
        'Programming Language :: Python :: 3',
Qusai Al Shidi's avatar
Qusai Al Shidi committed
28
        'License :: OSI Approved :: GNU Lesser General Public License 3',
Qusai Al Shidi's avatar
Qusai Al Shidi committed
29
30
        'Operating System :: OS Independent',
        ],
31
    install_requires=REQUIREMENTS,
Qusai Al Shidi's avatar
Qusai Al Shidi committed
32
33
    python_requires='>=3.6',
    extras_require={
Qusai Al Shidi's avatar
Qusai Al Shidi committed
34
        "tecplot": "tecplot",
Qusai Al Shidi's avatar
Qusai Al Shidi committed
35
        "tecplottools": "h5py",
36
        "hmi": "drms",
Qusai Al Shidi's avatar
Qusai Al Shidi committed
37
        },
Qusai Al Shidi's avatar
Qusai Al Shidi committed
38
    )