-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate package metadata in pyproject.toml
#5
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Changelog | ||
********* | ||
|
||
Changelog entries for the development version are available at | ||
https://rosettasciio.readthedocs.io/en/latest/changes.html | ||
|
||
0.1 (UNRELEASED) | ||
================ | ||
|
||
- Add pre-commit configuration file (`#4 <https://github.com/hyperspy/holospy/pull/4>`_) | ||
- Format code using ``black`` and add workflow to check formatting (`#3 <https://github.com/hyperspy/holospy/pull/3>`_). | ||
- Add GitHub workflows to tests and build packages (`#2 <https://github.com/hyperspy/holospy/pull/2>`_). | ||
|
||
Initiation (2023-07-23) | ||
======================= | ||
|
||
- HoloSpy was split out of the `HyperSpy repository | ||
<https://github.com/hyperspy/hyperspy>`_ on July 23, 2023. The holography | ||
functionalities so far developed in HyperSpy were moved to this | ||
new repository. |
Large diffs are not rendered by default.
Oops, something went wrong.
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,10 @@ | ||
from holospy import signals | ||
from holospy import misc | ||
|
||
from . import release_info | ||
from ._version import __version__ | ||
|
||
__all__ = [ | ||
"__version__", | ||
"signals", | ||
"misc", | ||
] | ||
|
||
__version__ = release_info.version | ||
__author__ = release_info.author | ||
__copyright__ = release_info.copyright | ||
__license__ = release_info.license | ||
__status__ = release_info.status |
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__ = "0.1.dev0" |
This file was deleted.
Oops, something went wrong.
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,87 @@ | ||
[build-system] | ||
requires = ["setuptools>=49.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "holospy" | ||
description = "Analysis of holography data with HyperSpy." | ||
requires-python = ">=3.8" | ||
readme = "README.rst" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Scientific/Engineering", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Operating System :: Unix", | ||
"Operating System :: MacOS", | ||
] | ||
dependencies = [ | ||
# Uncomment when hyperspy is released | ||
#"hyperspy>=2.0", | ||
"numpy>=1.20.0", | ||
"scipy>=1.5.0", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.entry-points."hyperspy.extensions"] | ||
holospy = "holospy" | ||
|
||
[project.license] | ||
file = "COPYING.txt" | ||
|
||
[project.optional-dependencies] | ||
tests = [ | ||
"pytest", | ||
"pytest-cov" | ||
] | ||
docs = [ | ||
"numpydoc", | ||
"pydata-sphinx-theme>=0.13", | ||
"sphinx", | ||
"sphinx-favicon", | ||
] | ||
dev = [ | ||
"black", | ||
"holospy[docs]", | ||
"holospy[tests]" | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://hyperspy.org/holospy" | ||
"Bug Reports" = "https://github.com/hyperspy/holospy/issues" | ||
"Source" = "https://github.com/hyperspy/holospy" | ||
|
||
[tool.pytest.ini_options] | ||
# "-ra", # Display summary: "all except passes" | ||
addopts = "-ra" | ||
minversion = "6.0" | ||
testpaths = [ | ||
"rsciio/tests", | ||
] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "holospy._version.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["holospy*"] | ||
|
||
[tool.setuptools.package-data] | ||
"*" = ["*hyperspy_extension.yaml"] | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
source = ["holospy"] | ||
omit = [ | ||
"holospy/tests/*", | ||
] | ||
|
||
[tool.coverage.report] | ||
precision = 2 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.