Skip to content
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

Move from setup.py to pyproject.toml for creation of zcbor packages #374

Merged

Conversation

oyvindronningstad
Copy link
Collaborator

setup.py is deprecated.

This involved restructuring a bit to also avoid the data_files feature which was used to include the src and include directories, but which is discouraged/deprecated, and needed lots of resolving logic in zcbor to locate in different types of installations.

__init__.py Outdated
@@ -0,0 +1,14 @@
#!/usr/bin/env python3
#
# Copyright (c) 2021 Nordic Semiconductor ASA
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: 2023

setup.py is deprecated.

This involved restructuring a bit to also avoid the data_files
feature which was used to include the src and include directories,
but which is discouraged/deprecated, and needed lots of resolving
logic in zcbor to locate in different types of installations.

Signed-off-by: Øyvind Rønningstad <[email protected]>
@oyvindronningstad oyvindronningstad merged commit 5c49b75 into NordicSemiconductor:main Dec 11, 2023
16 checks passed
@oyvindronningstad oyvindronningstad deleted the pyproject.toml branch December 11, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants