|
1 | 1 | [build-system] |
2 | | -requires = ["setuptools >= 64.0.0"] |
| 2 | +requires = ["setuptools >= 64.0.0", "setuptools-scm>=8"] |
3 | 3 | build-backend = "setuptools.build_meta" |
4 | 4 |
|
5 | 5 | [tool.setuptools] |
6 | 6 | package-dir = {""= "src"} |
7 | 7 |
|
| 8 | +# We use setuptools_scm to manage the EyeLinkIO version number |
| 9 | +[tool.setuptools_scm] |
| 10 | + |
8 | 11 | [project] |
9 | 12 | name = "eyelinkio" |
10 | 13 | description = "A lightweight library for reading Eyelink Data Format files in Python." |
11 | 14 | maintainers = [{ name = "Scott Huberty", email = "[email protected]" }] |
12 | 15 | readme = "README.md" |
13 | 16 | requires-python = ">=3.9" |
14 | | -version = "0.2.0" |
| 17 | +dynamic = ["version"] |
15 | 18 | keywords = [ |
16 | 19 | "neuroscience", |
17 | 20 | "eyelink", |
18 | 21 | "eyetracking", |
| 22 | + "SR Research", |
19 | 23 | ] |
20 | 24 | classifiers = [ |
21 | 25 | "Intended Audience :: Science/Research", |
@@ -62,21 +66,19 @@ build = [ |
62 | 66 | ] |
63 | 67 | dev = ["eyelinkio[test,doc,build,full]"] |
64 | 68 |
|
65 | | -# [project.urls] |
66 | | -# Homepage = "https://mne.tools/" |
67 | | -# Download = "https://pypi.org/project/mne/#files" |
68 | | -# "Bug Tracker" = "https://github.com/mne-tools/mne-python/issues/" |
69 | | -# Documentation = "https://mne.tools/" |
70 | | -# Forum = "https://mne.discourse.group/" |
71 | | -# "Source Code" = "https://github.com/mne-tools/mne-python/" |
| 69 | +[project.urls] |
| 70 | +Homepage = "https://scott-huberty.github.io/eyelinkio/" |
| 71 | +Download = "https://pypi.org/project/eyelinkio/#files" |
| 72 | +"Bug Tracker" = "https://github.com/scott-huberty/eyelinkio/issues" |
| 73 | +Documentation = "https://scott-huberty.github.io/eyelinkio/" |
| 74 | +"Source Code" = "https://github.com/scott-huberty/eyelinkio" |
72 | 75 |
|
73 | 76 | [tool.codespell] |
74 | 77 | ignore-words = "ignore_words.txt" |
75 | 78 | builtin = "clear,rare,informal,names,usage" |
76 | | -skip = "doc/references.bib" |
77 | 79 |
|
78 | 80 | [tool.ruff] |
79 | | -exclude = ["__init__.py", "constants.py", "resources.py"] |
| 81 | +exclude = ["__init__.py"] |
80 | 82 |
|
81 | 83 | [tool.ruff.lint] |
82 | 84 | select = ["A", "B006", "D", "E", "F", "I", "W", "UP"] |
@@ -111,54 +113,6 @@ addopts = """--durations=20 --doctest-modules -rfEXs \ |
111 | 113 | --color=yes --capture=sys""" |
112 | 114 | junit_family = "xunit2" |
113 | 115 |
|
114 | | -[tool.bandit.assert_used] |
115 | | -skips = ["*/test_*.py"] # assert statements are good practice with pytest |
116 | | - |
117 | | -[tool.rstcheck] |
118 | | -report_level = "WARNING" |
119 | | -ignore_roles = [ |
120 | | - "attr", |
121 | | - "class", |
122 | | - "doc", |
123 | | - "eq", |
124 | | - "exc", |
125 | | - "file", |
126 | | - "footcite", |
127 | | - "footcite:t", |
128 | | - "func", |
129 | | - "gh", |
130 | | - "kbd", |
131 | | - "meth", |
132 | | - "mod", |
133 | | - "newcontrib", |
134 | | - "py:mod", |
135 | | - "ref", |
136 | | - "samp", |
137 | | - "term", |
138 | | -] |
139 | | -ignore_directives = [ |
140 | | - "autoclass", |
141 | | - "autofunction", |
142 | | - "automodule", |
143 | | - "autosummary", |
144 | | - "bibliography", |
145 | | - "cssclass", |
146 | | - "currentmodule", |
147 | | - "dropdown", |
148 | | - "footbibliography", |
149 | | - "glossary", |
150 | | - "graphviz", |
151 | | - "grid", |
152 | | - "highlight", |
153 | | - "minigallery", |
154 | | - "tabularcolumns", |
155 | | - "toctree", |
156 | | - "rst-class", |
157 | | - "tab-set", |
158 | | - "towncrier-draft-entries", |
159 | | -] |
160 | | -ignore_messages = "^.*(Unknown target name|Undefined substitution referenced)[^`]*$" |
161 | | - |
162 | 116 | [tool.towncrier] |
163 | 117 | package = "eyelinkio" |
164 | 118 | directory = "docs/changes/devel/" |
@@ -195,9 +149,3 @@ showcontent = true |
195 | 149 | directory = "other" |
196 | 150 | name = "Other changes" |
197 | 151 | showcontent = true |
198 | | - |
199 | | -[tool.changelog-bot] |
200 | | -[tool.changelog-bot.towncrier_changelog] |
201 | | -enabled = true |
202 | | -verify_pr_number = true |
203 | | -changelog_skip_label = "no-changelog-entry-needed" |
0 commit comments