-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup.cfg->pyproject.toml, setuptools_scm (#50)
* Move most package configuration to pyproject.toml * Use setuptools_scm for automated generation of version numbers based on git tags * replace version.py by dynamic version * Remove unnecessary setup.py
- Loading branch information
Showing
6 changed files
with
48 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,44 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
] | ||
requires = ["setuptools>=64", "setuptools-scm>=8"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "fiddy" | ||
description = "Finite difference methods" | ||
readme = "README.md" | ||
dynamic = ["version"] | ||
license = { file = "LICENSE" } | ||
authors = [ | ||
{ name = "The fiddy developers", email = "[email protected]" } | ||
] | ||
keywords = ["finite difference", "gradient check", "difference quotient"] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.10", | ||
] | ||
dependencies = [ | ||
"joblib", | ||
"numpy", | ||
"pandas" | ||
] | ||
requires-python = ">=3.10" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/icb-dcm/fiddy" | ||
Documentation = "https://fiddy.readthedocs.io" | ||
Repository = "https://github.com/icb-dcm/fiddy" | ||
"Bug Tracker" = "https://github.com/icb-dcm/fiddy/issues" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["fiddy*"] | ||
|
||
[tool.setuptools_scm] | ||
|
||
[tool.ruff] | ||
line-length = 79 | ||
target-version = "py310" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,3 @@ | ||
[metadata] | ||
name = fiddy | ||
version = attr: fiddy.version.__version__ | ||
description = Finite difference methods | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
|
||
# URLs | ||
url = https://github.com/icb-dcm/fiddy | ||
download_url = https://github.com/icb-dcm/fiddy/releases | ||
project_urls = | ||
Bug Tracker = https://github.com/icb-dcm/fiddy/issues | ||
Documentation = https://fiddy.readthedocs.io | ||
Changelog = https://fiddy.readthedocs.io/en/latest/changelog.html | ||
|
||
# Author information | ||
author = The fiddy developers | ||
author_email = [email protected] | ||
|
||
# License information | ||
license = BSD-3-Clause | ||
license_files = LICENSE | ||
|
||
# Search tags | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
License :: OSI Approved :: BSD License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3.12 | ||
Programming Language :: Python :: 3.11 | ||
Programming Language :: Python :: 3.10 | ||
keywords = | ||
finite difference | ||
gradient check | ||
|
||
[options] | ||
install_requires = | ||
joblib | ||
numpy | ||
pandas | ||
|
||
python_requires = >=3.10 | ||
include_package_data = True | ||
|
||
# Where is my code | ||
packages = find: | ||
|
||
[options.packages.find] | ||
include = fiddy* | ||
|
||
[options.extras_require] | ||
all = | ||
%(amici)s | ||
|
@@ -72,7 +21,3 @@ tests = | |
scipy | ||
sympy | ||
more-itertools | ||
|
||
[bdist_wheel] | ||
# Requires Python 3 | ||
universal = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters