search-tweets-python icon indicating copy to clipboard operation
search-tweets-python copied to clipboard

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

Open lurk26 opened this issue 5 years ago • 3 comments

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

lurk26 avatar Sep 30 '20 04:09 lurk26

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

jimmoffitt avatar Oct 30 '20 23:10 jimmoffitt

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?

andypiper avatar Nov 05 '20 19:11 andypiper

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

jimmoffitt avatar Feb 27 '21 00:02 jimmoffitt