Skip to content

Commit

Permalink
use flit for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
ntessore committed Jul 18, 2022
1 parent f8b5167 commit 550a5b1
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 62 deletions.
2 changes: 1 addition & 1 deletion docs/fftl.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. automodule:: fftl
.. automodule:: fftl._core
21 changes: 2 additions & 19 deletions fftl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,8 @@
# author: Nicolas Tessore <[email protected]>
# license: MIT
'''
Core Functionality (:mod:`fftl`)
================================
'''generalised FFTLog for integral transforms'''

The main functionality of the package is provided by the :func:`fftl` routine
to compute the generalised FFTLog integral transform for a given kernel.
List of functions
-----------------
.. autosummary::
:toctree: reference
:nosignatures:
fftl
'''

__version__ = '2022.7.15'
__version__ = '2022.7.18'

__all__ = [
'fftl',
Expand Down
21 changes: 20 additions & 1 deletion fftl/_core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
# author: Nicolas Tessore <[email protected]>
# license: MIT
'''internal module for core functionality'''
'''
Core Functionality (:mod:`fftl`)
================================
.. currentmodule:: fftl
The main functionality of the package is provided by the :func:`fftl` routine
to compute the generalised FFTLog integral transform for a given kernel.
List of functions
-----------------
.. autosummary::
:toctree: reference
:nosignatures:
fftl
'''

import numpy as np

Expand Down
30 changes: 28 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
[build-system]
requires = ['setuptools>=30.3.0', 'wheel']
build-backend = 'setuptools.build_meta'
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "fftl"
authors = [{name = "Nicolas Tessore", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["FFTLog", "integral transform", "Hankel transform",
"Laplace transform", "Stieltjes transform"]
classifiers = [
"License :: OSI Approved :: MIT License",
]
requires-python = ">=3.6"
dependencies = ["numpy"]
dynamic = ["version", "description"]

[project.optional-dependencies]
all = ["scipy"]
docs = ["sphinx", "furo", "numpydoc", "scipy", "matplotlib"]

[project.urls]
Home = "https://github.com/ntessore/fftl"
Documentation = "https://fftl.readthedocs.io"
Issues = "https://github.com/ntessore/fftl/issues"

[tool.flit.sdist]
exclude = [".*", "docs"]
36 changes: 0 additions & 36 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit 550a5b1

Please sign in to comment.