Skip to content

Commit b64e9f4

Browse files
authored
Merge pull request #1561 from chanicpanic/sdist-git
Keep sdist in sync with git
2 parents 1f6f03c + ad0ea5f commit b64e9f4

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

MANIFEST.in

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
include README.md LICENSE docs/* examples/*.py examples/*.png examples/*.lark tests/*.py tests/*.lark tests/grammars/* tests/test_nearley/*.py tests/test_nearley/grammars/*
1+
# By default, all files tracked by git are included in the sdist via setuptools-scm
2+
# This manifest is used to exclude certain files and include files from git submodules
3+
recursive-exclude .github *
4+
recursive-exclude docs/ide *
5+
exclude .gitignore .gitmodules .pre-commit-config.yaml
6+
7+
# Include nearley grammars from the nearley submodule
8+
# Many of them are used by tests/test_nearley/test_nearley.py
9+
recursive-include tests/test_nearley/nearley *.ne
10+
include tests/test_nearley/nearley/LICENSE.txt

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=61.2.0"]
2+
requires = ["setuptools>=80", "setuptools-scm>=9.2.2"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

0 commit comments

Comments
 (0)