From 93390f2c7a7b172b8dc83c4a1bc972935e9c5c58 Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Sun, 28 Jan 2024 11:39:55 +0100 Subject: [PATCH] include readme in wheels --- LSL_streamer/setup.py | 9 ++++++--- SDK_wrapper/setup.py | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/LSL_streamer/setup.py b/LSL_streamer/setup.py index 2c2ad6a..5b42c9c 100644 --- a/LSL_streamer/setup.py +++ b/LSL_streamer/setup.py @@ -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 @@ -85,10 +88,10 @@ def build_extensions(self): author='Diederick C. Niehorster', author_email='diederick_c.niehorster@humlab.lu.se', 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 diff --git a/SDK_wrapper/setup.py b/SDK_wrapper/setup.py index 2f933e8..205cc19 100644 --- a/SDK_wrapper/setup.py +++ b/SDK_wrapper/setup.py @@ -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 @@ -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