Skip to content

Commit

Permalink
Fix build config(#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutsu3 committed Feb 6, 2024
1 parent afe967f commit edb11d0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ jobs:
flags: pytests
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Build package test
run: |
pip install build
python -m build
- name: Build package test (with tmp folder)
run: |
mkdir tmp
pip install build
python -m build
publish:
name: Publish to PyPi
Expand Down
13 changes: 7 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ build-backend = "setuptools.build_meta"

[project]
name = "uc-micro-py"
authors = [
{name = "tsutsu3"},
]
authors = [{ name = "tsutsu3" }]
description = "Micro subset of unicode data files for linkify-it-py projects."
readme = "README.md"
requires-python = ">=3.7"
keywords = ["unicode"]
license = {text = "MIT"}
urls={Homepage = "https://github.com/tsutsu3/uc.micro-py"}
license = { text = "MIT" }
urls = { Homepage = "https://github.com/tsutsu3/uc.micro-py" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
Expand All @@ -31,5 +29,8 @@ dynamic = ["version"]
[project.optional-dependencies]
test = ["pytest", "coverage", "pytest-cov"]

[tool.setuptools]
packages = ["uc_micro"]

[tool.setuptools.dynamic]
version = {attr = "uc_micro.__version__"}
version = { attr = "uc_micro.__version__" }

0 comments on commit edb11d0

Please sign in to comment.