Skip to content

Commit 1bc7d0d

Browse files
Ryan Whitmorebrandonwillard
authored andcommitted
Update the MANIFEST file to exclude unneeded git-tracked files.
1 parent 03bf56e commit 1bc7d0d

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

MANIFEST.in

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Include only the specified files in the source distribution
2+
include LICENSE.txt
3+
include MANIFEST.in
4+
include pyproject.toml
5+
include README.md
6+
include setup.cfg
7+
8+
# Include everything in the cons source directory
9+
recursive-include cons *
10+
11+
# Exclude unwanted directories and files
12+
prune .github
13+
prune tests
14+
prune .pytest_cache
15+
prune .ropeproject
16+
prune .venv
17+
prune __pycache__
18+
global-exclude *.pyc
19+
global-exclude *.pyo
20+
global-exclude *.pyd
21+
global-exclude .git*
22+
global-exclude .coverage
23+
global-exclude coverage.xml
24+
global-exclude testing-report.html
25+
global-exclude Makefile
26+
global-exclude requirements.txt
27+
global-exclude .pre-commit-config.yaml
28+
global-exclude .pylintrc

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
2-
requires = ["setuptools>=80.0.0", "setuptools-scm"]
2+
requires = ["setuptools>=77.0.0", "setuptools-scm"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "cons"
77
dynamic = ["version"]
88
description = "An implementation of Lisp/Scheme-like cons in Python."
99
readme = "README.md"
10-
license = { file = "LICENSE.txt" }
10+
license-files = ["LICENSE.txt"]
1111
authors = [
1212
{ name = "Brandon T. Willard", email = "brandonwillard+cons@gmail.com" },
1313
]
@@ -20,7 +20,6 @@ classifiers = [
2020
"Operating System :: OS Independent",
2121
"Programming Language :: Python",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)