Skip to content

Commit

Permalink
Merge pull request #136 from punch-mission/switch-to-toml
Browse files Browse the repository at this point in the history
switches to pyproject.toml completely
  • Loading branch information
jmbhughes authored Apr 15, 2024
2 parents e76e06d + 961b982 commit 468edb4
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 64 deletions.
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.

0 comments on commit 468edb4

Please sign in to comment.