-
Notifications
You must be signed in to change notification settings - Fork 6
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 #16 from sschmidt23/main
Update License and structure to prepare for PyPI
- Loading branch information
Showing
37 changed files
with
63 additions
and
48 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
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
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,50 @@ | ||
[project] | ||
name = "desc_bpz" | ||
description = "Python3 version of BPZ used in DESC" | ||
version = "0.2" | ||
readme = "README.md" | ||
requires-python = ">=3.5" | ||
license = { file = "LICENSE" } | ||
authors = [ | ||
{name = "Noel Benitez, Dan Coe, Will Hartley, Sam Schmidt, Joe Zuntz, LSST DESC PZWG", email = "[email protected]"} | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Natural Language :: English", | ||
"Operating System :: OS Independent" | ||
] | ||
dependencies = [ | ||
"numpy", | ||
"scipy", | ||
"pandas>=1.1", | ||
"h5py", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest", | ||
"pytest-runner", | ||
] | ||
|
||
[build-system] | ||
requires = ["setuptools", "wheel", "setuptools_scm[toml]>=6.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src", "tests"] | ||
|
||
[tool.setuptools.package-data] | ||
"*" = ["*.h5", "*.yaml", "*.columns", "*.pars"] | ||
"desc_bpz.data_files.SED" = ["*.sed", "*.list"] | ||
"desc_bpz.data_files.AB" = ["*.AB"] | ||
"desc_bpz.data_files.FILTER" = ["*.res"] | ||
"desc_bpz.scripts" = ["*.columns", "*.pars"] |
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,41 +1,3 @@ | ||
from setuptools import setup, find_namespace_packages | ||
from setuptools import setup | ||
|
||
packages = find_namespace_packages() | ||
setup( | ||
name="desc_bpz", | ||
version="0.1", | ||
author="Noel Benitez, Dan Coe, Will Hartley," | ||
"Sam Schmidt, LSST DESC PZWG", | ||
author_email="[email protected]", | ||
packages=packages, | ||
package_data={ | ||
"": ["*.h5", "*.yaml", "*.sed", "*.res", | ||
"*.AB", "*.columns", "*.pars"], | ||
"tests": ["*.h5", "*.yaml"], | ||
"SED": ["*.sed"], | ||
"FILTER": ["*.res"], | ||
"AB": ["*.AB"], | ||
"scripts": ["*.columns, *.pars"] | ||
}, | ||
include_package_data=True, | ||
license="MIT License", | ||
description="Python3 version of BPZ used in DESC", | ||
url="https://github.com/LSSTDESC/DESC_BPZ", | ||
long_description=open("README.md").read(), | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python" | ||
], | ||
install_requires=['numpy', | ||
'scipy', | ||
'pandas>=1.1', | ||
'h5py', | ||
], | ||
python_requires='>=3.5', | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest'], | ||
) | ||
setup() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 +1,2 @@ | ||
# just set version manually for now | ||
__version__ = "0.1" | ||
__version__ = "0.2" |
File renamed without changes.
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