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

Use console_scripts in setup.py to allow cross-platform compatibility for scripts #99

Open
lurk26 opened this issue Sep 30, 2020 · 3 comments

Comments

@lurk26
Copy link

lurk26 commented Sep 30, 2020

I am using the v2 branch and on Windows. The command-line utility does not work out of the box because the scripts are using unix shebangs. Please consider using console_scripts feature in setuptools:
https://python-packaging-user-guide.readthedocs.io/guides/distributing-packages-using-setuptools/?highlight=scripts#console-scripts

@jimmoffitt
Copy link
Collaborator

Interesting. I have not tested the library on Windows. Could you make a pull request, assuming you have the code updates already?

@andypiper andypiper self-assigned this Nov 5, 2020
@andypiper
Copy link
Contributor

Hi @lurk26 I'm hoping to investigate this, can you let me know what your Python environment looks like on Windows? This sounds like a good idea, and I'm keen to help if you're not able to send a PR? I have Python 3.8 and 3.9 installed from the MS Store here, would you recommend an alternative approach?

@jimmoffitt
Copy link
Collaborator

Short of a PR, is there README info that would help Windows developers?

@andypiper andypiper removed their assignment Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants