-
Notifications
You must be signed in to change notification settings - Fork 17
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 #161 from cta-observatory/ctapipe_0.17
Update source for ctapipe to 0.17
- Loading branch information
Showing
36 changed files
with
335 additions
and
134 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
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,5 @@ | ||
from ctapipe.io import EventSource | ||
from ctapipe.core import non_abstract_children | ||
|
||
for cls in non_abstract_children(EventSource): | ||
print(cls.__name__) |
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,3 +1,6 @@ | ||
[build-system] | ||
requires = ["setuptools >= 40.6.0", "wheel", "setuptools_scm[toml]>=3.4"] | ||
requires = ["setuptools >= 64.0.3", "setuptools_scm[toml]>=3.4"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "src/ctapipe_io_lst/_version.py" |
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,17 +1,62 @@ | ||
[metadata] | ||
name = ctapipe_io_lst | ||
description = ctapipe plugin for reading LST prototype files | ||
long-description = file: README.md | ||
long-description-content-type = text/markdown; charset=UTF-8; variant=GFM | ||
author = LST Consortium | ||
author_email = [email protected] | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown; charset=UTF-8; variant=GFM | ||
author = CTA LST Project | ||
author_email = [email protected] | ||
license = BSD 3-clause | ||
|
||
project_urls = | ||
Bug Tracker = https://github.com/cta-observatory/ctapipe_io_lst/issues | ||
Source Code = https://github.com/cta-observatory/ctapipe_io_lst | ||
|
||
classifiers = | ||
Development Status :: 4 - Beta | ||
License :: OSI Approved :: MIT License | ||
Intended Audience :: Science/Research | ||
Topic :: Scientific/Engineering :: Astronomy | ||
Topic :: Scientific/Engineering :: Physics | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
|
||
|
||
[options] | ||
packages = find: | ||
package_dir = | ||
= src | ||
python_requires = >=3.8 | ||
zip_safe = False | ||
install_requires= | ||
astropy~=5.2 | ||
ctapipe~=0.17.0 | ||
protozfits~=2.0 | ||
numpy>=1.20 | ||
|
||
[options.package_data] | ||
* = resources/* | ||
|
||
[options.packages.find] | ||
where = src | ||
exclude = | ||
ctapipe_io_lst._dev_version | ||
|
||
[options.extras_require] | ||
tests = | ||
pytest | ||
dev = | ||
setuptools_scm[toml] | ||
all = | ||
%(tests)s | ||
%(dev)s | ||
|
||
|
||
[tool:pytest] | ||
minversion = 3.0 | ||
addopts = -v | ||
|
||
|
||
[aliases] | ||
test = pytest | ||
|
||
|
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,18 +1,2 @@ | ||
from setuptools import setup, find_packages | ||
import os | ||
|
||
setup( | ||
packages=find_packages(exclude=["ctapipe_io_lst._dev_version"]), | ||
use_scm_version={"write_to": os.path.join("ctapipe_io_lst", "_version.py")}, | ||
install_requires=[ | ||
'astropy~=4.2', | ||
'ctapipe~=0.12', | ||
'protozfits~=2.0', | ||
'setuptools_scm', | ||
'numpy>=1.20,<1.23' | ||
], | ||
package_data={ | ||
'ctapipe_io_lst': ['resources/*'], | ||
}, | ||
tests_require=['pytest'], | ||
) | ||
from setuptools import setup | ||
setup() |
Oops, something went wrong.