Codebase list dh-python / 8973f66
Add a binary to our flit test package To ensure it installs to the right place. Stefano Rivera 2 years ago
3 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
44
55 check:
66 test -f debian/python3-foo/usr/lib/python3/dist-packages/foo/__init__.py
7 test -f debian/python3-foo/usr/bin/foo
78 grep -q ^foo/__init__.py, $(DI)/RECORD
89 test ! -f $(DI)/direct_url.json
910 grep -L ^foo-0.1.dist-info/direct_url.json, $(DI)/RECORD | grep -q RECORD
00 """An amazing sample package!"""
11
22 __version__ = '0.1'
3
4 def main():
5 print("Hello There")
1313 test = [
1414 "tox",
1515 ]
16
17 [tool.flit.scripts]
18 foo = "foo:main"