Skip to content

Commit e346a0c

Browse files
authored
Merge pull request #41 from theochem/fix_pypi
Fix failed Python build
2 parents b2d3ad7 + e5a0b67 commit e346a0c

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

MANIFEST.in

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Only include essential files
1+
# Include essential files
22
include README.md
33
include LICENSE
44
include CITATION.cff
@@ -8,5 +8,27 @@ include pyproject.toml
88
# Include B3DB package data
99
recursive-include B3DB *.tsv *.tsv.gz *.csv
1010

11-
# Exclude everything else
12-
global-exclude *
11+
# Exclude data_curation folder and all its contents
12+
global-exclude data_curation/
13+
global-exclude data_curation/*
14+
global-exclude data_curation/**/*
15+
16+
# Exclude notebooks folder and all its contents
17+
global-exclude notebooks/
18+
global-exclude notebooks/*
19+
global-exclude notebooks/**/*
20+
21+
# Exclude common build artifacts and cache files
22+
global-exclude *.pyc
23+
global-exclude __pycache__
24+
global-exclude *.egg-info
25+
global-exclude .git*
26+
global-exclude .github
27+
global-exclude build
28+
global-exclude dist
29+
global-exclude .tox
30+
global-exclude .pytest_cache
31+
global-exclude .coverage
32+
global-exclude htmlcov
33+
global-exclude .mypy_cache
34+
global-exclude .ruff_cache

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ exclude = [
119119
[tool.setuptools.package-data]
120120
B3DB = ["*.csv", "*.tsv", "*.tsv.gz"]
121121

122-
123-
124-
125-
126122
[tool.setuptools.exclude-package-data]
127123
# exclude all files in data_curation folder from all packages
128124
"*" = [

0 commit comments

Comments
 (0)