Skip to content

Commit 33f4522

Browse files
authored
Merge pull request #201 from eEcoLiDAR/fix-packages-find
Fix subpackages
2 parents c81b378 + a756729 commit 33f4522

File tree

6 files changed

+69
-58
lines changed

6 files changed

+69
-58
lines changed

.zenodo.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"license": {
6060
"id": "Apache-2.0"
6161
},
62-
"publication_date": "2025-03-24",
62+
"publication_date": "2026-03-03",
6363
"title": "Laserchicken: toolkit for ALS point clouds",
64-
"version": "0.8.0"
64+
"version": "0.8.1"
6565
}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
## 0.8.1 - 2026-03-03
10+
11+
## Changed
12+
13+
- updated CITATION.cff to version 1.2
14+
15+
## Fixed
16+
17+
- fixed package discovery - 0.8.0 build on PyPI is broken
18+
- fixed test path in project metadata
19+
- release instructions have been updated to new tool versions
20+
921
## 0.8.0 - 2026-03-03
1022

1123
## Added

CITATION.cff

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
# YAML 1.2
2-
---
3-
abstract: "Laserchicken is a toolkit for handling point clouds created using airborne laser scanning (ALS). Find neighboring points in your point cloud and describe them as feature values. Read our user manual and our (very modest) tutorial."
1+
# This CITATION.cff file was generated with cffinit.
2+
3+
cff-version: 1.2.0
4+
title: 'Laserchicken: toolkit for ALS point clouds'
5+
message: >-
6+
If you use this software, please cite it using these
7+
metadata.
8+
type: software
49
authors:
5-
-
6-
affiliation: "Netherlands eScience Center"
10+
- affiliation: Netherlands eScience Center
711
family-names: Meijer
812
given-names: Christiaan
9-
-
10-
affiliation: "Netherlands eScience Center"
13+
- affiliation: Netherlands eScience Center
1114
family-names: Goncalves
1215
given-names: Romulo
13-
-
14-
affiliation: "Netherlands eScience Center"
16+
- affiliation: Netherlands eScience Center
1517
family-names: Renaud
1618
given-names: Nico
17-
-
18-
affiliation: "Netherlands eScience Center"
19+
- affiliation: Netherlands eScience Center
1920
family-names: Andela
2021
given-names: Bouwe
21-
-
22-
affiliation: "Netherlands eScience Center"
22+
- affiliation: Netherlands eScience Center
2323
family-names: Dzigan
2424
given-names: Yifat
25-
-
26-
affiliation: "Netherlands eScience Center"
25+
- affiliation: Netherlands eScience Center
2726
family-names: Diblen
2827
given-names: Faruk
29-
-
30-
affiliation: "Netherlands eScience Center"
28+
- affiliation: Netherlands eScience Center
3129
family-names: Ranguelova
3230
given-names: Elena
33-
-
34-
affiliation: "Netherlands eScience Center"
31+
- affiliation: Netherlands eScience Center
3532
family-names: Oord
3633
given-names: Gijs
37-
name-particle: "van den"
38-
-
39-
affiliation: "Netherlands eScience Center"
34+
name-particle: van den
35+
- affiliation: Netherlands eScience Center
4036
family-names: Grootes
41-
given-names: "Meiert W."
42-
-
43-
affiliation: "Netherlands eScience Center"
37+
given-names: Meiert W.
38+
- affiliation: Netherlands eScience Center
4439
family-names: Nattino
4540
given-names: Francesco
46-
-
47-
affiliation: "Netherlands eScience Center"
41+
- affiliation: Netherlands eScience Center
4842
family-names: Ku
4943
given-names: Ou
50-
-
51-
affiliation: "Institute for Biodiversity and Ecosystem Dynamics, University of Amsterdam"
44+
- affiliation: >-
45+
Institute for Biodiversity and Ecosystem Dynamics,
46+
University of Amsterdam
5247
family-names: Koma
5348
given-names: Zsófia
54-
cff-version: "1.0.3"
55-
date-released: 2025-03-24
56-
doi: "10.5281/zenodo.1219422"
49+
identifiers:
50+
- type: doi
51+
value: 10.5281/zenodo.1219422
52+
description: Zenodo
53+
abstract: >-
54+
Laserchicken is a toolkit for handling point clouds
55+
created using airborne laser scanning (ALS). Find
56+
neighboring points in your point cloud and describe them
57+
as feature values. Read our user manual and our (very
58+
modest) tutorial.
5759
keywords:
58-
- "airborne laser scanning"
59-
- "machine learning"
60-
- "point cloud"
61-
- "digital terrain map"
62-
license: "Apache-2.0"
63-
message: "If you use this software, please cite it using these metadata."
64-
title: "Laserchicken: toolkit for ALS point clouds"
65-
version: "0.8.0"
66-
...
60+
- airborne laser scanning
61+
- machine learning
62+
- point cloud
63+
- digital terrain map
64+
license: Apache-2.0
65+
version: 0.8.1
66+
date-released: '2026-03-03'

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,18 @@ pip install laserchicken
2020
```
2121

2222
#### Necessary steps for making a new release
23-
* Check citation.cff using general DOI for all version (option: create file via 'cffinit')
23+
24+
* Set new version number in the following files:
25+
* `laserchicken/__version__.py`
26+
* `pyproject.toml`
27+
* `CITATION.cff`
2428
* Create .zenodo.json file from CITATION.cff (using cffconvert)
2529
```cffconvert --validate```
26-
```cffconvert --ignore-suspect-keys --outputformat zenodo --outfile .zenodo.json```
27-
* Set new version number in `laserchicken/__version__.py` and `pyproject.toml`
30+
```cffconvert --format zenodo --outfile .zenodo.json```
2831
* Check that documentation uses the correct version
2932
* Edit Changelog (based on commits in https://github.com/eecolidar/laserchicken/compare/v0.3.2...master)
3033
* Test if package can be installed with pip (`pip install .`)
31-
* Create Github release
32-
* Upload to pypi (now implemented via GitHub Actions):
33-
```python setup.py sdist bdist_wheel```
34-
```python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*```
35-
(or ```python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*``` to test first)
34+
* Create Github release (release to PyPI is implemented via GitHub Actions)
3635
* Check doi on zenodo
3736

3837

laserchicken/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.8.0'
1+
__version__ = '0.8.1'

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["setuptools"]
2+
requires = ["setuptools>=80"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "laserchicken"
7-
version = "0.8.0"
7+
version = "0.8.1"
88
dependencies = [
99
"laspy[lazrs]",
1010
"scipy>=0.11",
@@ -70,8 +70,8 @@ docs = [
7070
"recommonmark",
7171
]
7272

73-
[tool.setuptools]
74-
packages = ["laserchicken"]
73+
[tool.setuptools.packages.find]
74+
namespaces = false
7575

7676
[project.scripts]
7777
laserchicken = "laserchicken.tools.cli:main"
@@ -80,9 +80,9 @@ laserchicken = "laserchicken.tools.cli:main"
8080
minversion = "6.0"
8181
addopts = "--cov=laserchicken --cov-report xml:coverage.xml --cov-report=term"
8282
testpaths = [
83-
"tests",
83+
"laserchicken",
8484
]
8585

8686
[tool.coverage.run]
8787
branch = true
88-
source = ["laserchicken"]
88+
source = ["laserchicken"]

0 commit comments

Comments
 (0)