Skip to content

Commit

Permalink
Use setuptools_scm to derive version number from Git metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
zackw committed Mar 30, 2019
1 parent 911f79b commit d561f76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ MeCab.py
MeCab_wrap.c*
__pycache__/
*.egg-info/
.eggs/
.pybuild/
.tox/
build/
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,14 @@ def _get_pkg_data_files(self, package):
yield data

setup(name = "mecab-python3",
version = "0.996.2",
description = "python wrapper for mecab: Morphological Analysis engine",
long_description = read_file("README.md"),
long_description_content_type = "text/markdown",
maintainer = "Tatsuro Yasukawa",
maintainer_email = "t.yasukawa01@gmail.com",
url = "https://github.com/SamuraiT/mecab-python3",
license = "BSD",
use_scm_version=True,
cmdclass = {
"build_ext": build_ext,
"build_py": build_py
Expand All @@ -217,6 +217,7 @@ def _get_pkg_data_files(self, package):
ext_modules = [
Extension("MeCab._MeCab", ["src/MeCab/MeCab.i"])
],
setup_requires=["setuptools_scm"],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit d561f76

Please sign in to comment.