File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11include src/*.h
22include src/*.cpp
3- include src/*.c
3+ include src/*.c
4+ include README.md
Original file line number Diff line number Diff line change 22from pybind11 .setup_helpers import Pybind11Extension , build_ext
33import os
44
5+ long_description = ""
6+ possible_readmes = "README.md"
7+ for f in possible_readmes :
8+ if os .path .exists (f ):
9+ with open (f , "r" , encoding = "utf-8" ) as file :
10+ long_description = file .read ()
11+ break
12+
513# Define the C++ extension
614ext_modules = [
715 Pybind11Extension (
1725
1826setup (
1927 name = "libbbf" ,
20- version = "0.2.1 " ,
28+ version = "0.2.2 " ,
2129 author = "EF1500" ,
2230 author_email = "rosemilovelockofficial@proton.me" ,
2331 description = "Bound Book Format (BBF) tools and bindings" ,
24- long_description = open ( "readme.md" ). read () ,
32+ long_description = long_description ,
2533 long_description_content_type = "text/markdown" ,
2634 url = "https://github.com/ef1500/libbbf" ,
2735
You can’t perform that action at this time.
0 commit comments