-
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.
Fix editable installs by switching to src layout, fixes #162
- Loading branch information
Showing
29 changed files
with
78 additions
and
30 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
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 |
---|---|---|
|
@@ -3,16 +3,58 @@ 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] | ||
author = CTA LST Project | ||
author_email = [email protected] | ||
license = MIT | ||
|
||
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.0 | ||
ctapipe~=0.17.0 | ||
protozfits~=2.0 | ||
numpy>=1.20 | ||
|
||
[options.package_data] | ||
* = resources/* | ||
|
||
[options.packages.find] | ||
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,19 +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")}, | ||
python_requires=">=3.8", | ||
install_requires=[ | ||
'astropy~=5.0', | ||
'ctapipe~=0.17.0', | ||
'protozfits~=2.0', | ||
'setuptools_scm', | ||
'numpy>=1.20' | ||
], | ||
package_data={ | ||
'ctapipe_io_lst': ['resources/*'], | ||
}, | ||
tests_require=['pytest'], | ||
) | ||
from setuptools import setup | ||
setup() |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# coding: utf-8 | ||
# file generated by setuptools_scm | ||
# don't change, don't track in version control | ||
__version__ = version = '0.19a1.dev1+g3796a1c2.d20221206' | ||
__version_tuple__ = version_tuple = (0, 19, 'dev1', 'g3796a1c2.d20221206') |
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
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
File renamed without changes.
File renamed without changes.