@@ -4,6 +4,66 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
4
4
[tool .setuptools_scm ]
5
5
write_to = " src/{{ cookiecutter.project_slug }}/_version.py"
6
6
7
+ [project ]
8
+ name = " {{ cookiecutter.project_slug }}"
9
+ description = " {{ cookiecutter.project_description }}"
10
+ requires-python = " >=3.8"
11
+ classifiers = [
12
+ " Intended Audience :: Science/Research" ,
13
+ " License :: OSI Approved :: {{ cookiecutter.open_source_license }} License" ,
14
+ " Operating System :: MacOS :: MacOS X" ,
15
+ " Operating System :: Microsoft :: Windows" ,
16
+ " Operating System :: POSIX" ,
17
+ " Programming Language :: Python :: 3" ,
18
+ " Programming Language :: Python :: 3 :: Only" ,
19
+ ]
20
+ dynamic = [" version" ]
21
+ dependencies = [" pytask" ]
22
+
23
+ [project .readme ]
24
+ file = " README.md"
25
+ content-type = " text/markdown"
26
+
27
+ [project .license ]
28
+ text = " {{ cookiecutter.open_source_license }}"
29
+
30
+ [[project .authors ]]
31
+ name = " {{ cookiecutter.author }}"
32
+ email = " {{ cookiecutter.email }}"
33
+
34
+ [project .optional-dependencies ]
35
+ docs = [
36
+ " furo" ,
37
+ " ipython" ,
38
+ " myst-parser" ,
39
+ " nbsphinx" ,
40
+ " sphinx" ,
41
+ " sphinx-copybutton" ,
42
+ " sphinx-design>=0.3" ,
43
+ " sphinx-toolbox" ,
44
+ " sphinxext-opengraph" ,
45
+ ]
46
+ test = []
47
+
48
+ [project .urls ]
49
+ Changelog = " https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}"
50
+ Documentation = " https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}"
51
+ Github = " https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}"
52
+ Tracker = " https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}/issues"
53
+
54
+ [tool .setuptools ]
55
+ include-package-data = true
56
+ zip-safe = false
57
+ platforms = [" unix" , " linux" , " osx" , " win32" ]
58
+ license-files = [" LICENSE" ]
59
+
60
+ [tool .setuptools .package-dir ]
61
+ "" = " src"
62
+
63
+ [tool .setuptools .packages .find ]
64
+ where = [" src" ]
65
+ namespaces = false
66
+
7
67
{% if cookiecutter.add_mypy == "yes" %}[tool.mypy]
8
68
files = [" src" , " tests" ]
9
69
check_untyped_defs = true
@@ -46,16 +106,5 @@ convention = "numpy"
46
106
47
107
[tool .pytest .ini_options ]
48
108
addopts = [" --doctest-modules" ]
49
- testpaths = [" tests" ]
50
- filterwarnings = [
51
- " ignore: the imp module is deprecated in favour of importlib" ,
52
- " ignore: Using or importing the ABCs from 'collections' instead of from" ,
53
- " ignore: The (parser|symbol) module is deprecated and will be removed in future" ,
54
- ]
55
- markers = [
56
- " wip: Tests that are work-in-progress." ,
57
- " unit: Flag for unit tests which target mainly a single function." ,
58
- " integration: Flag for integration tests which may comprise of multiple unit tests." ,
59
- " end_to_end: Flag for tests that cover the whole program." ,
60
- ]
109
+ testpaths = [" src" , " tests" ]
61
110
norecursedirs = [" .idea" , " .tox" ]
0 commit comments