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.44 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


Qusai Al Shidi's avatar
Qusai Al Shidi committed
8
with open('README.md') as fh_readme:
9
10
11
12
    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',
Qusai Al Shidi's avatar
Qusai Al Shidi committed
16
    version='2020.11',
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 v3 (LGPLv3)',
Qusai Al Shidi's avatar
Qusai Al Shidi committed
29
        'Operating System :: OS Independent',
30
31
32
33
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Astronomy',
        'Topic :: Scientific/Engineering :: Physics',
        'Topic :: Scientific/Engineering :: Visualization',
Qusai Al Shidi's avatar
Qusai Al Shidi committed
34
        ],
35
    install_requires=REQUIREMENTS,
Qusai Al Shidi's avatar
Qusai Al Shidi committed
36
37
38
    python_requires='>=3.6',
    extras_require={
        "tecplottools": "tecplot",
Qusai Al Shidi's avatar
Qusai Al Shidi committed
39
        "tecplottools": "h5py",
40
        "hmi": "drms",
Qusai Al Shidi's avatar
Qusai Al Shidi committed
41
        },
42
43
44
45
    package_data={
        'Documentation': ['DOCUMENTATION.markdown'],
        'TecplotDocumentation': ['TECPLOT.markdown'],
    },
Qusai Al Shidi's avatar
Qusai Al Shidi committed
46
    )