Skip to content

Commit 5f09f67

Browse files
committed
Add package finding and packing of *.tx files to setup.cfg
1 parent cd23511 commit 5f09f67

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

textxdev/scaffold/template/setup.cfg.jinja

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers =
2727
Operating System :: OS Independent
2828

2929
[options]
30-
packages = {{package}}
30+
packages = find:
3131
zip_safe = False
3232
install_requires =
3333
textX
@@ -46,6 +46,11 @@ test =
4646
coveralls
4747
pytest
4848

49+
{% if type=="lang" %}
50+
[options.package_data]
51+
{{package}} = *.tx
52+
{% endif %}
53+
4954
[options.entry_points]
5055
{% if type=="lang" %}
5156
textx_languages =

0 commit comments

Comments
 (0)