-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from LSSTDESC/u/jrbogart/dependencies_versioning
U/jrbogart/dependencies versioning
- Loading branch information
Showing
3 changed files
with
8 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,12 @@ requires = ["setuptools >= 61.0"] # PEP 621 compliant | |
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
dynamic = ["version"] | ||
name = "skyCatalogs" | ||
version = "1.4.0-rc1" | ||
description = "Writes, reads catalogs input to LSST DESC simulations" | ||
readme = "README.md" | ||
authors = [{ name = "Joanne Bogart", email = "[email protected]" }] | ||
license = { file = "LICENCE" } | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
] | ||
|
@@ -19,9 +19,12 @@ dependencies = [ | |
'astropy', | ||
'pyarrow', | ||
'pandas', | ||
'importlib-metadata;python_version<"3.8"' | ||
'sncosmo' | ||
] | ||
requires-python = ">=3.7" # For setuptools >= 61.0 support | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "desc.skycatalogs._version.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["python"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
##from ._version import * | ||
try: | ||
# For Python >= 3.8 | ||
from importlib import metadata | ||
except ImportError: | ||
# For Python < 3.8 | ||
import importlib_metadata as metadata | ||
|
||
try: | ||
__version__ = metadata.version("skyCatalogs") | ||
except metadata.PackageNotFoundError: | ||
pass | ||
from ._version import __version__ | ||
|
||
from .skyCatalogs import * | ||
from .catalog_creator import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "1.4.0-rc4" |