From be9763c1c0164cc65bedeed74428f9afd90fb879 Mon Sep 17 00:00:00 2001 From: Akshay S Dinesh Date: Tue, 24 Oct 2023 01:26:47 +0530 Subject: [PATCH] fix: long_description is mandatory for publishing to pypi https://github.com/libindic/unicode-conversion-maps/actions/runs/6618271150/job/17976331653 --- scripts/build.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/scripts/build.js b/scripts/build.js index 676ce54..a738fcb 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -69,4 +69,21 @@ build-backend = "setuptools.build_meta" [project] name = "libindic-unicode-conversion-maps" version = "1.0.${version}" +description = "Maps for converting ASCII to Unicode" +readme = "README.md" + +[project.urls] +Homepage = "https://github.com/libindic/unicode-conversion-maps" +`) + +fs.writeFileSync(path.join(pythonFolder, 'README.md'), `# libindic-unicode-conversion-maps + +To use, first install \`pip install libindic-unicode-conversion-maps\` + +Then import and use: + +\`\`\`python +from libindic.unicode_conversion_maps import maps +print(maps["revathi"]["A"]) # prints അ +\`\`\` `) \ No newline at end of file