-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace deprecated setup.py * Actually create replacement file. * Don't try to test the now removed setup.py
- Loading branch information
1 parent
6e1f787
commit ad7873d
Showing
3 changed files
with
48 additions
and
65 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 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[project] | ||
name = "sci-fab" | ||
description = "Build system for scientific software" | ||
authors = [ | ||
{name = "SciFab Developers", email = '[email protected]'} | ||
] | ||
license = {file = 'LICENSE.txt'} | ||
dynamic = ['version', 'readme'] | ||
requires-python = '>=3.7, <4' | ||
dependencies = ['fparser'] | ||
classifiers = [ | ||
'Development Status :: 1 - Planning', | ||
'Environment :: Console', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: POSIX', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Scientific/Engineering', | ||
'Topic :: Software Development :: Build Tools' | ||
] | ||
|
||
[project.optional-dependencies] | ||
c-language = ['python-clang'] | ||
plots = ['matplotlib'] | ||
tests = ['pytest', 'pytest-cov', 'pytest-mock'] | ||
checks = ['flake8', 'mypy'] | ||
docs = ['sphinx', 'sphinx-material', 'sphinx-autodoc-typehints', 'sphinx-copybutton'] | ||
dev = ['sci-fab[plots, tests, checks, docs]'] | ||
|
||
[project.scripts] | ||
fab = 'fab.cli:cli_fab' | ||
|
||
[project.urls] | ||
homepage = 'https://github.com/Metomi/fab' | ||
documentation = 'https://metomi.github.io/fab/' | ||
repository = 'https://github.com/metomi/fab' | ||
'Bug Reports' = 'https://github.com/metomi/fab/issues' | ||
|
||
[tool.setuptools.packages.find] | ||
where = ['source'] | ||
|
||
[tool.setuptools.dynamic] | ||
readme = {file = 'README.md'} | ||
version = {attr = 'fab.__version__'} | ||
|
||
[build-system] | ||
requires = ['setuptools'] | ||
build-backend = 'setuptools.build_meta' |