-
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.
- Loading branch information
Showing
2 changed files
with
92 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"""Package defining top-level application | ||
and entry points. | ||
""" | ||
|
||
def main(): | ||
"""Placeholder. | ||
""" | ||
print("TEST_VESUVIO_LAUNCH") |
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,84 @@ | ||
[build-system] | ||
requires = ["setuptools >= 65.0.0", | ||
"wheel", | ||
"versioningit",] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "mvesuvio" | ||
dynamic = ["version"] | ||
authors = [ | ||
{name = "The Mantid Project", email = "[email protected]"}, | ||
{name = "Guilherme Pereira", email = "[email protected]"}, | ||
{name = "More Credit", email = "[email protected]"}, | ||
] | ||
description = "Analyse Vesuvio instrument data" | ||
readme = "README.md" | ||
requires-python = "==3.8.*" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3.8", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Operating System :: OS Independent", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
dependencies = [ | ||
"matplotlib", | ||
"iminuit", | ||
"h5py", | ||
"jacobi==0.4.2", | ||
] | ||
|
||
[project.optional-dependencies] | ||
tests_require = [ | ||
"coverage", | ||
"mock>=2.0", | ||
"pytest", | ||
] | ||
|
||
[project.urls] | ||
"Repository" = "https://github.com/mantidproject/vesuvio" | ||
"Bug Tracker" = "https://github.com/mantidproject/vesuvio/issues" | ||
|
||
[project.entry-points] | ||
console_scripts = { mvesuvio = "EVSVesuvio.scripts:main" } | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["EVSVesuvio"] | ||
|
||
[tool.setuptools.package-data] | ||
"EVSvesuvio.vesuvio_analysis" = ["*.OPJ", "*.par", "*.DAT", "*.DAT3", "*.DAT6", "*.txt"] | ||
"EVSvesuvio.experiments" = ["*.NXS", "*.nxs", "*.npz", "*.txt"] | ||
|
||
[tool.pytest.ini_options] | ||
pythonpath = ["."] | ||
testpaths = ["EVSVesuvio/system_tests"] | ||
filterwarnings = ["error"] | ||
|
||
[tool.coverage.report] | ||
include = [ | ||
"*/EVSVesuvio/vesuvio_analysis/*", | ||
] | ||
|
||
omit = [ | ||
"*tests*", | ||
"*unpackaged*", | ||
] | ||
|
||
fail_under = 0 | ||
show_missing = true | ||
skip_empty = true | ||
|
||
[tool.versioningit.vcs] | ||
method = "git" | ||
default-tag = "0.0.0" | ||
|
||
[tool.versioningit.next-version] | ||
method = "minor" | ||
|
||
[tool.versioningit.format] | ||
distance = "{version}.dev{distance}" | ||
dirty = "{version}+uncommitted" | ||
distance-dirty = "{version}.dev{distance}+uncommitted" | ||
|
||
[tool.versioningit.write] | ||
file = "EVSVesuvio/__init__.py" |