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

switches to pyproject.toml completely #136

Merged
merged 2 commits into from
Apr 15, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
pip install ".[test]"
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
78 changes: 77 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,81 @@
[build-system]

requires = ["setuptools",
"wheel"]

[project]
name = "punchbowl"
version = "0.0.1"
dependencies = [
"numpy",
"astropy",
"sunpy",
"pandas",
"ndcube",
"matplotlib",
"ccsdspy",
"prefect",
"regularizepsf",
"solpolpy",
"scipy",
"lmfit",
"sunkit-image",
"setuptools",
"reproject",
"pylibjpeg",
"python-dateutil",
"pyyaml"
]
requires-python = ">=3.9"
authors = [
{name = "J. Marcus Hughes", email = "hughes.jmb@gmail.com"},
{name = "Chris Lowder", email="chris.lowder@swri.org"}
]
maintainers = [
{name = "J. Marcus Hughes", email = "hughes.jmb@gmail.com"}
]
description = "TODO"
readme = "TODO"
license = {file = "TODO"}
keywords = ["TODO"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python"
]

[project.optional-dependencies]
test = ["pytest",
"coverage",
"pytest-cov",
"flake8",
"pytest-runner",
"pytest-mpl",
"pre-commit",
"ruff",
"hypothesis"]
docs = ["sphinx",
"pydata-sphinx-theme",
"sphinx-autoapi",
"sphinx-favicon",
"nbsphinx",
"ipython",
"sphinxcontrib-mermaid"]

[project.urls]
#Homepage = "https://example.com"
#Documentation = "https://readthedocs.org"
#Repository = "https://github.com/punch-mission/simpunch.git"
#"Bug Tracker" = "https://github.com/punch-mission/simpunch/issues"
#Changelog = "https://github.com/punch-mission/thuban/blob/main/CHANGELOG.md"

[tool.setuptools]
packages = ["punchbowl"]

[tool.codespell]
skip = "*.fts,*.fits,venv,*.pro,*.asdf,*.ipynb"

[tool.ruff]
target-version = 'py38'
target-version = 'py39'
exclude = ['tests', 'scripts', 'docs']
line-length=120

Expand Down
62 changes: 0 additions & 62 deletions setup.py

This file was deleted.

Loading