Skip to content

Commit

Permalink
Update README and setup for release on PyPI.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonywong94 committed Dec 15, 2021
1 parent a36efac commit 1b045e3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Based on idl_mommaps: https://github.com/tonywong94/idl_mommaps

Required packages: [spectral_cube](https://spectral-cube.readthedocs.io/), [radio_beam](https://radio-beam.readthedocs.io/), [astropy](https://www.astropy.org), [scipy](https://www.scipy.org)

**Note:** A serious error was uncovered on 9-Jun-2020 where the emom0 image was not being scaled to K, even though it was labeled as K km/s. Please update any results obtained with code from before that time.

How to use:

from maskmoment import maskmoment
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
19 changes: 16 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import setuptools

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

from setuptools import setup

setup(name='maskmoment',
version='1.1',
setuptools.setup(
name='maskmoment',
version='1.1.1',
description='Masked moments of radio data cubes',
long_description=long_description,
long_description_content_type="text/markdown",
author='Tony Wong',
author_email = 'tonywong94@gmail.com',
install_requires = ['numpy>=1.8.0',
Expand All @@ -12,4 +20,9 @@
'spectral_cube'],
url='https://github.com/tonywong94/maskmoment',
packages=['maskmoment'],
)
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)

0 comments on commit 1b045e3

Please sign in to comment.