Re: How to access installed scripts on Windows?

2017-03-10 Thread ddbug
On Monday, March 6, 2017 at 12:29:54 PM UTC+2, Paul Moore wrote: > On Sunday, 5 March 2017 22:26:17 UTC, eryk sun wrote: > > On Sun, Mar 5, 2017 at 2:35 AM, ddbug wrote: . Thank you Paul and Eryk for your replies. My goal is definitely to expose the Python to my user

Re: Basic Packaging strategy question

2017-03-04 Thread ddbug
ng scripts under modules location is an option, and setuptools can automatically create 'entry points' that bootstrap the actual scripts. But this does not solve the root issue - where to place these entry points? I have not found a good solution yet. Regards, ddbug -- https://mail.python.org/mailman/listinfo/python-list

Re: How to access installed scripts on Windows?

2017-03-04 Thread ddbug
sed to solve this problem (like, run IDLE with a special start script or extension that will make these user-local scripts easy discoverable Maybe a extension that adds a new GUI menu etc. ) Regards, ddbug -- https://mail.python.org/mailman/listinfo/python-list

How to access installed scripts on Windows?

2017-02-18 Thread ddbug
I am very perplexed by inability to tell the Windows installer (bdist_wininst or pip) where to install scripts (or "entry points"). By default (and I don't see other options) scripts go to %USERPROFILE%/Appdata/Roaming/Python/Scripts. Ok. Now what? How the user is going to call these scripts: a

Re: Confused with installing per-user in Windows

2016-11-09 Thread ddbug
@eryk sun: Thank you for useful reply. But note that I don't propose to touch the python interpeters (python*.exe), neither to change anything in how distutils work (about entry points). My proposal is only for the Windows-specific Py launcher. For those who runs python*.exe thru associations o

Re: What is currently the recommended way to work with a distutils-based setup.py that requires compilation?

2016-11-09 Thread ddbug
I am a Python beginner but would like to contribute $0.02 in absence of authoritative answers (thanks Tim J. for encouragement). After researching this topic for a while, it looks like they now recommend distributing wheels rather than sdist's. For Windows thus is reasonable, given that there i

Re: Confused with installing per-user in Windows

2016-11-06 Thread ddbug
So basically I want to modify py.exe to not only detect the Python version from a script file, but also help locating the script file. -- d -- https://mail.python.org/mailman/listinfo/python-list

Confused with installing per-user in Windows

2016-11-06 Thread ddbug
Dear experts, I need to install some scripts for current user (to skip sudo, UAC popups and whatever). So I make a sdist and use python -m pip install --user This should work for either Python 2 or 3. On Linux, pip installs the scripts into ~/.local/bin ; users are instructed to add this