[Python-Dev] Re: Advice / RTFM needed for tool setup to participate in python development from a Windows host

2020-12-17 Thread Steve Dower

On 16Dec2020 2114, pjfarl...@earthlink.net wrote:

If anyone has or knows of step-by-step instructions on how to set that debug 
environment up and start the outer-level script with debug breakpoints in the 
DLL I would greatly appreciate it.  I'm also doing my own searches for 
tutorials on debugging python with VS20xx, but have not read/viewed one of 
those yet.


Hi Peter

Hopefully this document is able to help you get set up: 
https://docs.microsoft.com/en-us/visualstudio/python/debugging-mixed-mode-c-cpp-python-in-visual-studio?view=vs-2019


It gives you a few options, depending on whether you've created a Python 
project, a C++ project, or are attaching to a running process. Hopefully 
one of those will suit you. There are some videos out there as well, but 
they're a little older. (If you don't see Python projects, you'll need 
to go back to the Visual Studio installer, select the Python workload 
and the Python Native Development option.)


If you run into problems, there's a "Report a problem" (under Help/Send 
Feedback) inside VS that will get directly to the team, though most 
people are on vacation for the next few weeks. (And yes, "the official 
docs aren't good enough for me to follow" is a problem ;) )


Cheers,
Steve
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/5WV7VN3TSIZ5SAPMDLMIWQBMEWRT6OMU/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Python package funding through command-line

2020-12-17 Thread r22133yash
Many open-source developers are committing to several projects, developing 
package (for Python). A fraction of developers might need funds for the 
continuing development of several projects and to pursue contributing. Sadly, 
there is no direct short way for donors to fund python package developers. 
There is no particular function in the python package installer(pip) and the 
site. 

A command-line argument(pip3 fund) for listing the funding pages of package 
developer for packages installed by them (global or pyenv), will help donors to 
reach such developers easily. The funding page can be the GitHub sponsor page, 
or PayPal redirect (control of the developer)

Similar implementations include the "npm fund" command. This command retrieves 
information on how to fund the dependencies of a given project, released 4-5 
months ago which has gained momentum.
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/6Q5VJEYFJCMTYRZZFKCF5WN4SSHPPZ6N/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Python package funding through command-line

2020-12-17 Thread Brett Cannon
This mailing list is for the development of Python. Pip development is
primarily discussed at https://discuss.python.org/c/packaging/14. But I
would also check their issue tracker as I believe they already have an
issue open about this (I think it's called `pip thanks`).

On Thu, Dec 17, 2020 at 8:44 AM  wrote:

> Many open-source developers are committing to several projects, developing
> package (for Python). A fraction of developers might need funds for the
> continuing development of several projects and to pursue contributing.
> Sadly, there is no direct short way for donors to fund python package
> developers. There is no particular function in the python package
> installer(pip) and the site.
>
> A command-line argument(pip3 fund) for listing the funding pages of
> package developer for packages installed by them (global or pyenv), will
> help donors to reach such developers easily. The funding page can be the
> GitHub sponsor page, or PayPal redirect (control of the developer)
>
> Similar implementations include the "npm fund" command. This command
> retrieves information on how to fund the dependencies of a given project,
> released 4-5 months ago which has gained momentum.
> ___
> Python-Dev mailing list -- python-dev@python.org
> To unsubscribe send an email to python-dev-le...@python.org
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-dev@python.org/message/6Q5VJEYFJCMTYRZZFKCF5WN4SSHPPZ6N/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/KUC2UCFQK5VPTE4I55SJFLABS2GIIQUY/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Advice / RTFM needed for tool setup to participate in python development from a Windows host

2020-12-17 Thread pjfarley3
Thanks for that link Steve.  I will read it and see what it can help me do.  It 
does seem like it is pretty much on target for the scenario I have, which is a 
C DLL project that is invoked by python wrapper functions invoked from a python 
script.

Peter

> -Original Message-
> From: Steve Dower 
> Sent: Thursday, December 17, 2020 5:22 AM
> To: pjfarl...@earthlink.net; 'Python Dev' 
> Subject: Re: [Python-Dev] Re: Advice / RTFM needed for tool setup to
> participate in python development from a Windows host
> 
> On 16Dec2020 2114, pjfarl...@earthlink.net wrote:
> > If anyone has or knows of step-by-step instructions on how to set that debug
> environment up and start the outer-level script with debug breakpoints in the
> DLL I would greatly appreciate it.  I'm also doing my own searches for 
> tutorials
> on debugging python with VS20xx, but have not read/viewed one of those yet.
> 
> Hi Peter
> 
> Hopefully this document is able to help you get set up:
> https://docs.microsoft.com/en-us/visualstudio/python/debugging-mixed-mode-
> c-cpp-python-in-visual-studio?view=vs-2019
> 
> It gives you a few options, depending on whether you've created a Python
> project, a C++ project, or are attaching to a running process. Hopefully
> one of those will suit you. There are some videos out there as well, but
> they're a little older. (If you don't see Python projects, you'll need
> to go back to the Visual Studio installer, select the Python workload
> and the Python Native Development option.)
> 
> If you run into problems, there's a "Report a problem" (under Help/Send
> Feedback) inside VS that will get directly to the team, though most
> people are on vacation for the next few weeks. (And yes, "the official
> docs aren't good enough for me to follow" is a problem ;) )
> 
> Cheers,
> Steve
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/YKHNFDUNIWGCOSEUWEKI66PYVEVI2WBT/
Code of Conduct: http://python.org/psf/codeofconduct/