-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change setup.cfg to pyproject.toml #2694
Changes from 18 commits
0b4063e
c94b826
d3175df
e2c7282
8bb1904
560fa54
1213977
656d498
bd9068f
255f585
adcaf3d
8c0b2f7
1747b60
49dbf1a
6b3b9bf
18b5900
4e573c5
5955d06
f20496b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
[project] | ||
name = "tardis" | ||
authors = [{ name = "TARDIS Collaboration", email = "[email protected]" }] | ||
license = { text = "BSD-3-Clause" } | ||
classifiers = ["License :: OSI Approved :: BSD License"] | ||
description = "TARDIS - Temperature And Radiative Diffusion In Supernovae" | ||
readme = { file = "README.rst", content-type = "text/x-rst" } | ||
requires-python = ">=3.7" | ||
dependencies = ["astropy"] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
test = ['pytest-astropy'] | ||
docs = ["sphinx-astropy"] | ||
|
||
[project.scripts] | ||
cmfgen2tardis = "tardis.scripts.cmfgen2tardis:main" | ||
|
||
[project.urls] | ||
Homepage = "https://tardis-sn.github.io/" | ||
Documentation = "https://tardis-sn.github.io/tardis/" | ||
Repository = "https://github.com/tardis-sn/tardis" | ||
Issues = "https://github.com/tardis-sn/tardis/issues/" | ||
Changelog = "https://tardis-sn.github.io/tardis/contributing/CHANGELOG.html" | ||
|
||
[build-system] | ||
requires = ["setuptools", | ||
"setuptools_scm", | ||
|
@@ -137,3 +162,31 @@ known-first-party = ["tardis", "carsus", "stardis"] | |
|
||
[tool.ruff.lint.pydocstyle] | ||
convention = "numpy" | ||
|
||
[tool.setuptools] | ||
packages = ["tardis"] | ||
license-files = ["LICENSE.rst", "licenses/*.rst"] | ||
|
||
[tool.setuptools.package-data] | ||
tardis = ["data/*"] | ||
tardis_grid = ["tests/data/*", "./"] | ||
tardis_io = [ | ||
"configuration/schemas/*", | ||
"configuration/tests/data/*", | ||
"model/readers/tests/data/*" | ||
] | ||
tardis_model_tests = ["data/*"] | ||
tardis_montecarlo_tests = ["data/*"] | ||
tardis_plasma_tests = ["data/*"] | ||
tardis_scripts = ["debug/*"] | ||
tardis_tests_integration_tests = ["**/*"] | ||
tardis_visualization = ["tools/tests/data/*"] | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["tardis"] | ||
# astropy_header = true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this commented out? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The tests were failing after I added those two lines so I was testing which is exactly causing the tests to fail. |
||
# doctest_plus = "disabled" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we keeping a commented out line? |
||
text_file_format = "rst" | ||
|
||
[tool.tardis] | ||
edit_on_github = false |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use double quotes consistently