Skip to content

Commit a63ca48

Browse files
authored
Support setuptools_scm (#14)
1 parent 6657d4a commit a63ca48

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ clang_tools/llvm-project*
88
.vscode/settings.json
99
tests/pytestdebug.log
1010
tests/__pycache__/
11+
.eggs

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@
44
with open("README.md", "r", encoding='utf-8') as file:
55
long_description = file.read()
66

7+
78
setup(
89
name="clang_tools",
9-
version="0.2.3",
1010
description="Install clang-tools (clang-format, clang-tidy) with pip",
1111
long_description=long_description,
1212
long_description_content_type="text/markdown",
1313
author="Peter Shen",
1414
author_email="[email protected]",
1515
keywords=["clang", "clang-tools", "clang-extra", "clang-tidy", "clang-format"],
1616
license="MIT License",
17+
use_scm_version={"local_scheme": "no-local-version"},
18+
setup_requires=['setuptools_scm'],
1719
packages=find_packages(),
1820
project_urls={
1921
"Source": "https://github.com/cpp-linter/clang-tools-pip",

0 commit comments

Comments
 (0)