Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #7: console_scripts file names now have the major python version appended for python3 #9

Conversation

hrudham
Copy link

@hrudham hrudham commented Jul 9, 2020

See issue #7

Comment within the code explaining the change:

Some python debian packages have separate python2 and python3 Debian packages released. If a package has a console_scripts entry, and the python2 version of a debian package is already installed, when we attempt to install a python3 package created by wheel2deb, it will fail because apt will not let it overwrite an existing file. An example of this is the pyjwt package: for the officially released Debian packages, this creates /usr/bin/pyjwt (apt install python-jwt) and /usr/bin/pyjwt3 (apt install python3-jwt). The code below follows a similar pattern, by appending the python major version to console_scripts entries for versions three and above.

@hrudham hrudham force-pushed the bugfix/#7/python3-console_script_conflict branch from b232fee to de87c0e Compare July 10, 2020 13:20
@fyhertz fyhertz deleted the branch upciti:master October 6, 2022 15:08
@fyhertz fyhertz closed this Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants