Skip to content

Commit

Permalink
update package
Browse files Browse the repository at this point in the history
  • Loading branch information
j-faria committed Jul 9, 2024
1 parent 0fbcc3b commit 9c47214
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 62 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package

on:
Expand All @@ -19,17 +16,16 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -U pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand Down
40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[project]
name = "iCCF"
version = "0.1.0"
description = "Analysis of CCF profiles and activity indicators"
authors = [
{name = "João Faria", email = "[email protected]"},
]

dependencies = [
"numpy",
"scipy",
"matplotlib",
"astropy",
"cached_property",
"paramiko",
"tqdm",
]

requires-python = ">=3.8"
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
]

[project.urls]
Homepage = "https://j-faria.github.io/iCCF/"
Repository = "https://github.com/j-faria/iCCF"
Issues = "https://github.com/j-faria/iCCF/issues"

[tool.setuptools]
packages = ['iCCF']

[tool.setuptools.package-data]
iCCF = ['example_data/*.npy', 'data/*']

[build-system]
requires = ["setuptools", "wheel", "numpy"]
build-backend = "setuptools.build_meta"

55 changes: 0 additions & 55 deletions setup.py

This file was deleted.

0 comments on commit 9c47214

Please sign in to comment.