Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ r.romanize()
Publishing to PyPI is automated using GitHub Actions. Pushing a version tag or
creating a GitHub release triggers the workflow in
`.github/workflows/python-publish.yml` which builds and uploads the package using
the `PYPI_API_TOKEN` secret.
the `PYPI_API_TOKEN` secret. The package version is derived from git tags using
`setuptools_scm`, so create a new tag or GitHub release when publishing a new
version.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[metadata]
description-file = README.md

[tool.setuptools_scm]
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
setup(
name = 'korean_romanizer',
packages = ['korean_romanizer'],
version = '0.26',
use_scm_version=True,
license='GNU GPLv3',
description = 'A Python library for Korean romanization',
author = 'Ilkyu Ju',
author_email = 'ju.ilkyu@gmail.com',
url = 'https://github.com/osori/korean-romanizer',
download_url = 'https://github.com/osori/korean-romanizer/archive/0.26.tar.gz',
keywords = ['Korean', 'Romanization', 'Transliteration'],
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down