Skip to content

Commit

Permalink
Fix setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Feb 6, 2024
1 parent c86df31 commit f001027
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ htmlcov
/.venv/
.mypy_cache/
__pycache__/
/.tox/

/dist/
/data/
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@
data_files.append(version_path)
version = version_path.read_text(encoding="utf-8").strip()

long_description = (this_dir / "README.md").read_text()

# -----------------------------------------------------------------------------

setup(
name=module_name,
version=version,
description="Rule-based number formatting using Unicode CLDR data",
url="http://github.com/rhasspy/unicode",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/rhasspy/unicode-rbnf",
author="Michael Hansen",
author_email="[email protected]",
license="MIT",
Expand All @@ -32,11 +36,11 @@
"Intended Audience :: Developers",
"Topic :: Text Processing :: Linguistic",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords="rbnf unicode number format",
)
13 changes: 13 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tox]
env_list =
py{38,39,310,311,312}
minversion = 4.12.1

[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest>=6
commands =
pytest {tty:--color=yes} {posargs}

0 comments on commit f001027

Please sign in to comment.