Skip to content

Commit a78247d

Browse files
committed
Fix build configuration
1 parent 8090410 commit a78247d

3 files changed

Lines changed: 32 additions & 7 deletions

File tree

MANIFEST.in

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
11
exclude .gitignore
22
exclude .gitattributes
3+
4+
include MANIFEST.in
5+
6+
include LICENSE.txt
7+
include README.rst
8+
9+
include tox.ini
10+
11+
graft src/formencode
12+
graft src/formencode/javascript
13+
include src/formencode/i18n/*.pot
14+
recursive-include src/formencode/i18n *.po *.mo
15+
16+
graft examples
17+
recursive-include examples *.py
18+
19+
graft tests
20+
graft tests/htmlfill_data
21+
recursive-include docs *.rst conf.py Makefile make.bat
22+
prune docs/_build
23+
24+
global-exclude */__pycache__/*
25+
global-exclude *.py[cod]

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", "wheel", "setuptools_scm>=6.2"]
2+
requires = ["setuptools", "wheel", "setuptools_scm>=8"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.setuptools_scm]

setup.cfg

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ classifiers =
2828
Topic :: Software Development :: Libraries :: Python Modules
2929

3030
[options]
31-
packages = find:
3231
package_dir =
33-
=src
32+
= src
33+
packages =
34+
formencode
3435
python_requires = >=3.7
35-
include_package_data = True
36+
include_package_data = False
3637

37-
[options.packages.find]
38-
where = src
38+
[options.package_data]
39+
formencode =
40+
javascript/*.js
41+
i18n/**/*.mo
3942

4043
[options.extras_require]
4144
testing =
@@ -73,4 +76,3 @@ max_line_length=88
7376
[flake8]
7477
max-line-length = 88
7578
extend-ignore = E128,E402,E501,E731
76-

0 commit comments

Comments
 (0)