Skip to content
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

Update the setup.cfg file. #152

Merged
merged 3 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ env:
PYTEST_ADDOPTS: --color=yes

jobs:
pyflakes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: pyflakes
run: |
pip install pyflakes
pyflakes magicctapipe

tests:
runs-on: ubuntu-latest
strategy:
Expand All @@ -16,12 +31,12 @@ jobs:
ctapipe-version: [v0.12.0]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -43,14 +58,6 @@ jobs:
pip install -e .
git describe --tags

- name: Static codechecks
# need to use a login shell for the conda setup to work
shell: bash -leo pipefail {0}
run: |
source $CONDA/etc/profile.d/conda.sh
conda activate ci
pyflakes magicctapipe

#- name: Download test data
# env:
# TEST_DATA_USER: ${{ secrets.test_data_user }}
Expand All @@ -71,4 +78,4 @@ jobs:
coverage run -m pytest -v
coverage xml

- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- pip
- black
- nbsphinx
- numpy=1.21
- ctapipe=0.12
- gammapy=0.19.0
- cython
Expand Down
34 changes: 33 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,45 @@
[metadata]
name = magic-cta-pipe
description =
description = pipeline for the analysis of joint MAGIC+LST-1 data
long_description = file: README.md
long_description_content_type = text/markdown
author = magic-cta-pipe developers
author_email = [email protected]
license = BSD 3-Clause License
url = https://github.com/cta-observatory/magic-cta-pipe

project_urls =
Bug Tracker = https://github.com/cta-observatory/magic-cta-pipe/issues
Source Code = https://github.com/cta-observatory/magic-cta-pipe

classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: BSD License
Intended Audience :: Science/Research
Topic :: Scientific/Engineering :: Astronomy
Topic :: Scientific/Engineering :: Physics
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8

[options]
packages = find:
python_requires = >=3.8
zip_safe = False
install_requires=
lstchain~=0.9.6
ctapipe~=0.12.0
ctapipe_io_magic~=0.4.7
ctaplot~=0.5.5
gammapy~=0.19.0
uproot~=4.1
numpy<1.22.0a0
joblib
pandas
pyirf~=0.6.0
seaborn
scikit-learn
setuptools_scm

[flake8]
exclude = build,docs,.eggs
max-line-length = 88
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'ctaplot~=0.5.5',
'gammapy~=0.19.0',
'uproot~=4.1',
'numpy<1.22.0a0',
'joblib',
'pandas',
'pyirf~=0.6.0',
Expand Down
Loading