Skip to content

Commit

Permalink
fix: long_description is mandatory for publishing to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
asdofindia committed Oct 23, 2023
1 parent 4d79780 commit be9763c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 അ
\`\`\`
`)

0 comments on commit be9763c

Please sign in to comment.