Skip to content

Commit

Permalink
Merge branch 'bugfix/upciti#7/python3-console_script_conflict'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilton Rudham committed Jul 10, 2020
2 parents 89b5e6c + de87c0e commit c4c1eee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion testing/test_wheel2deb.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,12 @@ def test_conversion(tmp_path, wheel_path):

package_hash = digests(package_list[0])

endpoint_python_version = ""
if sys.version_info[0] >= 3:
endpoint_python_version = str(sys.version_info[0])

# check that the entrypoint will be installed in /usr/bin
entrypoint = (unpack_path / 'debian/python3-foobar/usr/bin/entrypoint')
entrypoint = (unpack_path / ('debian/python3-foobar/usr/bin/entrypoint'+endpoint_python_version))
assert entrypoint.exists()

# check shebang
Expand Down

0 comments on commit c4c1eee

Please sign in to comment.