-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace setup.py by pyproject.toml (#195)
* add pyproject.toml file * move pytest config into pyproject.toml * define package version only in pyproject.toml * simplify test_sigpy_import() to pass CI pipeline * delete version.py, setup.py, pytest.ini, MANIFEST.in files --------- Co-authored-by: Patrick Schuenke <patrick.schuenke@gmail.com>
- Loading branch information
Showing
10 changed files
with
1,940 additions
and
1,972 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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pypulseq" | ||
version = "1.4.2" | ||
authors = [{ name = "Keerthi Sravan Ravi", email = "ks3621@columbia.edu" }] | ||
maintainers = [ | ||
{ name = "Bilal Tasdelen" }, | ||
{ name = "Frank Ziljstra" }, | ||
{ name = "Patrick Schuenke" }, | ||
] | ||
description = "Pulseq in Python" | ||
readme = "README.md" | ||
license = { file = "LICENSE" } | ||
requires-python = ">=3.6.3" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"coverage>=6.2", | ||
"matplotlib>=3.5.2", | ||
"numpy>=1.19.5", | ||
"scipy>=1.8.1", | ||
] | ||
|
||
[project.optional-dependencies] | ||
sigpy = ["sigpy>=0.1.26"] | ||
test = ["pytest"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/imr-framework/pypulseq" | ||
Issues = "https://github.com/imr-framework/pypulseq/issues" | ||
Documentation = "https://pypulseq.readthedocs.io/en/latest/" | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["pypulseq"] | ||
|
||
[tool.setuptools.package-data] | ||
SAR = ["QGlobal.mat"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "version.__version__" } | ||
|
||
# PyTest section | ||
[tool.pytest.ini_options] | ||
testpaths = ["pypulseq/tests"] | ||
filterwarnings = ["error"] | ||
markers = [ | ||
"matlab_seq_comp: comparison with matlab generated sequence", | ||
"sigpy: tests that require sigpy", | ||
] |
Oops, something went wrong.