Skip to content

Commit

Permalink
Merge pull request #42 from LSSTDESC/u/jrbogart/release_improvements
Browse files Browse the repository at this point in the history
U/jrbogart/release improvements
  • Loading branch information
JoanneBogart authored Feb 13, 2023
2 parents ff1b744 + 37923d7 commit 619c607
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 80 deletions.
27 changes: 27 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[build-system]
requires = ["setuptools >= 61.0"] # PEP 621 compliant
build-backend = "setuptools.build_meta"

[project]
name = "skyCatalogs"
version = "1.3.0"
description = "Writes, reads catalogs input to LSST DESC simulations"
readme = "README.md"
authors = [{ name = "Joanne Bogart", email = "[email protected]" }]
license = { file = "LICENCE" }
classifiers = [
"Programming Language :: Python :: 3",
]
keywords = ["desc", "python", "catalog", "simulation"]
dependencies = [
'numpy',
'healpy',
'astropy',
'pyarrow',
'pandas',
'importlib-metadata;python_version<"3.8"'
]
requires-python = ">=3.7" # For setuptools >= 61.0 support

[tool.setuptools.packages.find]
where = ["python"]
10 changes: 9 additions & 1 deletion python/desc/skycatalogs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
from ._version import *
##from ._version import *
try:
# For Python >= 3.8
from importlib import metadata
except ImportError:
# For Python < 3.8
import importlib_metadata as metadata

__version__ = metadata.version("skyCatalogs")
from .skyCatalogs import *
from .catalog_creator import *
18 changes: 0 additions & 18 deletions python/desc/skycatalogs/_version.py

This file was deleted.

61 changes: 0 additions & 61 deletions setup.py

This file was deleted.

0 comments on commit 619c607

Please sign in to comment.