Skip to content

Commit 778687e

Browse files
deeenesclaude
andcommitted
Move to top-level layout, change license to BSD-3-Clause
- Move pkg_infra/ from src/pkg_infra/ to top-level (matching org convention) - Change license from MIT to BSD-3-Clause - Bump to 0.1.1 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7d4229e commit 778687e

19 files changed

Lines changed: 42 additions & 35 deletions

.bumpversion.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[bumpversion]
2-
current_version = 0.1.0
2+
current_version = 0.1.1
33
commit = True
44
tag = True
5-
files = pyproject.toml src/pkg_infra/_metadata.py
5+
files = pyproject.toml pkg_infra/_metadata.py
66
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
77
serialize = {major}.{minor}.{patch}

LICENSE

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
1-
MIT License
1+
BSD 3-Clause License
22

3-
Copyright (c) 2025, Edwin Carreño
3+
Copyright (c) 2025, Heidelberg University Hospital
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
117

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
8+
1. Redistributions of source code must retain the above copyright notice, this
9+
list of conditions and the following disclaimer.
1410

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
3. Neither the name of the copyright holder nor the names of its
16+
contributors may be used to endorse or promote products derived from
17+
this software without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ad hoc across projects:
3232
- Logging configuration generation with support for file handlers, JSON output,
3333
package groups, and async queue-based logging
3434
- A packaged baseline configuration in
35-
`src/pkg_infra/data/default_settings.yaml`
35+
`pkg_infra/data/default_settings.yaml`
3636

3737
## Installation
3838

@@ -89,7 +89,7 @@ To serve the docs locally without the current upstream Material warning banner:
8989
```bash
9090
source .venv/bin/activate
9191
export NO_MKDOCS_2_WARNING=1
92-
PYTHONPATH=src mkdocs serve
92+
mkdocs serve
9393
```
9494

9595
Recommended starting points:
@@ -105,4 +105,4 @@ documentation and code contributions in `docs/community/`.
105105

106106
## License
107107

108-
This project is distributed under the MIT License. See `LICENSE` for details.
108+
This project is distributed under the BSD-3-Clause License. See `LICENSE` for details.

docs/learn/explanation/default-schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Default Schema and Baseline Configuration
22

33
The package ships with a baseline configuration file at
4-
`src/pkg_infra/data/default_settings.yaml`. This file is the default structure
4+
`pkg_infra/data/default_settings.yaml`. This file is the default structure
55
that `pkg_infra` expects and merges with higher-precedence config sources.
66

77
At a high level, the default schema contains these top-level sections:

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ plugins:
102102
handlers:
103103
python:
104104
paths:
105-
- src
105+
- .
106106
options:
107107
annotations_path: brief
108108
docstring_style: google
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# File author(s): Edwin Carreño (ecarrenolozano@gmail.com)
1010
#
11-
# Distributed under the MIT license
11+
# Distributed under the BSD-3-Clause license
1212
# See the file `LICENSE` or read a copy at
13-
# https://opensource.org/license/mit
13+
# https://opensource.org/license/bsd-3-clause
1414
#
1515

1616
"""Package metadata (version, authors, etc)."""
@@ -23,7 +23,7 @@
2323

2424
import toml
2525

26-
_VERSION = '0.1.0'
26+
_VERSION = '0.1.1'
2727

2828

2929
def get_metadata() -> dict:
@@ -76,4 +76,4 @@ def get_metadata() -> dict:
7676
metadata = get_metadata()
7777
__version__ = metadata.get('version', None)
7878
__author__ = metadata.get('author', None)
79-
__license__ = 'MIT'
79+
__license__ = 'BSD-3-Clause'

0 commit comments

Comments
 (0)