From b5858d4cde191cda1235926ec5181eec8f80d5a0 Mon Sep 17 00:00:00 2001 From: Russell Stoneback Date: Fri, 4 Mar 2022 07:28:34 -0600 Subject: [PATCH] STY: Added setup --- requirements.txt | 1 + setup.cfg | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ setup.py | 17 ++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/requirements.txt b/requirements.txt index 5166352..700453e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +jupyter numpy matplotlib pysat >= 3.0.0 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..fb37a53 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,52 @@ +[metadata] +name = pysatTutorials +version = 0.0.1 +url = https://github.com/pysat/pysatTutorials +author = Russell Stoneback, et al. +author_email = pysat.developers@gmail.com +description = 'pysat Tutorials' +keywords = + pysat + demo + tutorials +classifiers = + Development Status :: 3 - Alpha + Topic :: Scientific/Engineering :: Physics + Topic :: Scientific/Engineering :: Atmospheric Science + Intended Audience :: Science/Research + License :: OSI Approved :: BSD License + Natural Language :: English + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Operating System :: MacOS :: MacOS X + Operating System :: POSIX :: Linux +license_file = LICENSE +long_description = file: README.md +long_description_content_type = text/markdown + +[options] +python_requires = >= 3.5 +setup_requires = + setuptools >= 38.6 + pip >= 10 +include_package_data = True +zip_safe = False +packages = find: +install_requires = + jupyter + numpy + matplotlib + pysat >= 3.0.0 + pysatMadrigal + pysatNASA + pysatSpaceWeather + scipy + + +[flake8] +max-line-length = 80 +ignore = + D200 + D202 + W503 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..38c15d3 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# Copyright (C) 2020, Authors +# Full license can be found in License.md and AUTHORS.md +# ----------------------------------------------------------------------------- +"""Setup routines for pysatTutorials. + +Note +---- +Package metadata stored in setup.cfg + +""" + +from setuptools import setup + +# Run setup +setup()