forked from blaylockbk/goes2go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (51 loc) · 1.86 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
45
46
47
48
49
50
51
52
53
54
from pathlib import Path
from setuptools import setup, find_packages
HERE = Path(__file__).parent
README = (HERE / 'README.md').read_text(encoding="utf8")
setup(
name = 'goes2go',
version = '0.0.3',
author = 'Brian K. Blaylock',
author_email = "[email protected]",
description = 'Retreive GOES-16/17 data from AWS. Also proves some RGB recipes.',
long_description = README,
long_description_content_type = 'text/markdown',
project_urls = {
'Source Code': 'https://github.com/blaylockbk/goes2go',
'Documentation': 'https://blaylockbk.github.io/goes2go/_build/html/',
},
license = "MIT",
packages = find_packages(),
package_data = {
"": ['*.cfg'],
},
#python_requires='>3.7', # Will this requirement cause problems for people??
install_requires = ['numpy', 'pandas', 'xarray', 's3fs', 'netcdf4'],
keywords = ['xarray', 'meteorology', 'weather', 'GOES', 'forecast'],
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Atmospheric Science",
],
zip_safe = False,
)
###############################################################################
## Brian's Note: How to upload a new version to PyPI
## -------------------------------------------------
# Created a new conda environment with twine
# conda create -n pypi python=3 twine pip -c conda-forge
'''
conda activate pypi
cd goes2go
python setup.py sdist bdist_wheel
twine check dist/*
# Test PyPI
twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*
# PyPI
twine upload --skip-existing dist/*
'''