Skip to content

Commit 7641660

Browse files
committed
feat: Add configuration for PyPI deployment
1 parent 119d41c commit 7641660

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ requires-python = ">=3.12"
2828

2929
[project.urls]
3030
Homepage = "https://github.com/CEDARScript/cedarscript-ast-parser"
31+
Documentation = "https://github.com/CEDARScript/cedarscript-ast-parser#readme"
32+
Repository = "https://github.com/CEDARScript/cedarscript-ast-parser.git"
33+
"Bug Tracker" = "https://github.com/CEDARScript/cedarscript-ast-parser/issues"
34+
35+
[project.optional-dependencies]
36+
dev = [
37+
"pytest>=7.0",
38+
"black>=22.0",
39+
"isort>=5.0",
40+
"flake8>=4.0",
41+
]
42+
43+
[tool.setuptools.dynamic]
44+
version = {attr = "cedarscript_ast_parser.__version__"}
3145

3246
[tool.setuptools.packages.find]
3347
where = ["src"]

setup.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[metadata]
2+
long_description = file: README.md
3+
long_description_content_type = text/markdown
4+
5+
[options]
6+
package_dir =
7+
= src
8+
packages = find:
9+
python_requires = >=3.12
10+
11+
[options.packages.find]
12+
where = src
13+
14+
[options.package_data]
15+
cedarscript_ast_parser = *.so, *.dylib, *.dll

0 commit comments

Comments
 (0)