Skip to content

Commit e290b50

Browse files
committed
adjusted pyproject.toml for publishing (#503)
1 parent b5b0ac2 commit e290b50

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[build-system]
2-
requires = ["setuptools >= 61.0"]
2+
requires = ["setuptools >= 61.0", "setuptools_scm[toml]>=6.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ecooptimizer"
7-
version = "0.0.1"
87
dependencies = [
98
"pylint",
109
"rope",
@@ -47,10 +46,12 @@ eco-ext = "ecooptimizer.api.__main__:main"
4746
eco-ext-dev = "ecooptimizer.api.__main__:dev"
4847

4948
[project.urls]
50-
Documentation = "https://readthedocs.org"
5149
Repository = "https://github.com/ssm-lab/capstone--source-code-optimizer"
5250
"Bug Tracker" = "https://github.com/ssm-lab/capstone--source-code-optimizer/issues"
5351

52+
[tool.setuptools_scm]
53+
write_to = "your_package/_version.py"
54+
5455
[tool.pytest.ini_options]
5556
norecursedirs = ["tests/temp*", "tests/input", "tests/_input_copies"]
5657
addopts = ["--basetemp=tests/temp_dir"]

0 commit comments

Comments
 (0)