Skip to content

Commit

Permalink
include readme in wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
dcnieho committed Jan 28, 2024
1 parent 91513b9 commit 93390f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions LSL_streamer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

__version__ = '1.2.0'

with open('README.md') as f:
readme = f.read()


class get_pybind_include(object):
"""Helper class to determine the pybind11 include path
Expand Down Expand Up @@ -85,10 +88,10 @@ def build_extensions(self):
author='Diederick C. Niehorster',
author_email='[email protected]',
url='https://github.com/dcnieho/Titta',
description='Interface for streaming and receiving Tobii eye tracker data using LSL',
description='Interface for streaming and receiving Tobii eye tracker data using Lab Streaming Layer',
keywords="Tobii PsychoPy Eye-tracking streaming remote LSL",
long_description='Interface for streaming and receiving Tobii eye tracker data using Lab Streaming Layer',
long_description_content_type = 'text/plain',
long_description=readme,
long_description_content_type = 'text/markdown',
ext_modules=ext_modules,
python_requires=">=3.8",
setup_requires=['pybind11>=2.10.1'], # this fixes problem if c++23 std::forward_like is available that i ran into
Expand Down
7 changes: 5 additions & 2 deletions SDK_wrapper/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

__version__ = '1.2.0'

with open('README.md') as f:
readme = f.read()


class get_pybind_include(object):
"""Helper class to determine the pybind11 include path
Expand Down Expand Up @@ -84,8 +87,8 @@ def build_extensions(self):
url='https://github.com/dcnieho/Titta',
description='Interface to Tobii eye trackers using Tobii Pro SDK',
keywords="Tobii PsychoPy Eye-tracking",
long_description='Interface to Tobii eye trackers using Tobii Pro SDK',
long_description_content_type = 'text/plain',
long_description=readme,
long_description_content_type = 'text/markdown',
ext_modules=ext_modules,
python_requires=">=3.8",
setup_requires=['pybind11>=2.10.1'], # this fixes problem if c++23 std::forward_like is available that i ran into
Expand Down

0 comments on commit 93390f2

Please sign in to comment.