Skip to content

Commit

Permalink
migrate to pyproject.toml and update license
Browse files Browse the repository at this point in the history
  • Loading branch information
tianluyuan committed May 28, 2024
1 parent cc507e4 commit d58b60f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 27 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2019 Tianlu Yuan
Copyright (c) 2021 Eric Daniël Fraenkel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
42 changes: 42 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "fb8"
version = "1.2.3"
authors = [
{name = "Daniël Fraenkel", email = "[email protected]"},
{name = "Austin Schneider", email = "[email protected]"},
{name = "Tianlu Yuan", email = "[email protected]"},
]
maintainers = [
{name = "Tianlu Yuan", email = "[email protected]"}
]

description = "Implementation of FB8, a generalization of the Kent (1982) and Bingham-Mardia (1978) distributions on a sphere"
readme = "README.md"
license = {file = "LICENSE"}

requires-python = ">= 3.8"
dependencies = [
"numpy >= 1.17",
"scipy"
]

classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]

[project.optional-dependencies]
plotting = ["matplotlib", "healpy"]

[project.urls]
Repository = "https://github.com/tianluyuan/sphere.git"

[tool.setuptools.packages]
find = {}
27 changes: 0 additions & 27 deletions setup.py

This file was deleted.

0 comments on commit d58b60f

Please sign in to comment.