Skip to content

Packaging improvements #96

@mscheltienne

Description

@mscheltienne

Hi @cboulay! I see that you pushed quite a few nice changes. I have a couple of questions and tips for the packaging. I now see:

pylsl/pyproject.toml

Lines 67 to 68 in fb0ae2e

[tool.setuptools.package-data]
pylsl = ["lib/*.dll"]

Accompagnied with attempts to re-target wheels on windows 32 and 64. Unless mistaken, you are not building and packaging liblsl within pylsl, thus you should have a source distribution and a single binary distribution pylsl-**-py3-none-any.whl. Overall, you should be able to get rid of setup.py entirely and since you reverted to setuptools, specify the following pyproject.toml:

[build-system]
build-backend = 'setuptools.build_meta'
requires = ['setuptools >= 64.0.0']

...

[tool.setuptools]
include-package-data = false

[tool.setuptools.packages.find]
exclude = ['test']
include = ['src/pylsl*']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions