public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ATN: git maintainer] Git package depends on python
@ 2016-05-16 23:15 Jon Ross
  2016-05-16 23:24 ` Warren Young
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Ross @ 2016-05-16 23:15 UTC (permalink / raw)
  To: “cygwin@cygwin.com”

It looks like the git package installs python as a dependency. It
causes problems if you need a different win python runtime for your
projects.


Also, git doesn't seem to use python. I un-install python via setup
and git continues to work fine (at least for my typical usage). Nor
can I find any python files in the git package.


Seems a heavyweight dependency, and it doesn't seem to be used. Why is it there?


$ cygcheck.exe -fv /usr/bin/git
/usr/bin/git: found in package git-2.8.0-1


$ uname -a
CYGWIN_NT-6.1 2.5.1(0.297/5/3) 2016-04-21 22:14 x86_64 Cygwin

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ATN: git maintainer] Git package depends on python
  2016-05-16 23:15 [ATN: git maintainer] Git package depends on python Jon Ross
@ 2016-05-16 23:24 ` Warren Young
  2016-05-16 23:38   ` Yaakov Selkowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Warren Young @ 2016-05-16 23:24 UTC (permalink / raw)
  To: The Cygwin Mailing List

On May 16, 2016, at 5:15 PM, Jon Ross <jonross@gmail.com> wrote:
> 
> Nor can I find any python files in the git package.

/usr/libexec/git-core/git-p4

I expect it is that file (or another like it) that cygport is finding and automatically adding the python dependency.

In the past, packages have had to be restructured to extract such non-core commands to avoid this.  In this case, it could be a git-p4 package, just for those rare people who use both Git and Perforce.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ATN: git maintainer] Git package depends on python
  2016-05-16 23:24 ` Warren Young
@ 2016-05-16 23:38   ` Yaakov Selkowitz
  0 siblings, 0 replies; 3+ messages in thread
From: Yaakov Selkowitz @ 2016-05-16 23:38 UTC (permalink / raw)
  To: cygwin

On 2016-05-16 18:24, Warren Young wrote:
> On May 16, 2016, at 5:15 PM, Jon Ross <jonross@gmail.com> wrote:
>>
>> Nor can I find any python files in the git package.
>
> /usr/libexec/git-core/git-p4
>
> I expect it is that file (or another like it) that cygport is finding and
> automatically adding the python dependency.

Exactly.

> In the past, packages have had to be restructured to extract such non-core
> commands to avoid this.  In this case, it could be a git-p4 package, just
> for those rare people who use both Git and Perforce.

+1 (and obviously it's manpage should go there too).

-- 
Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-16 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-16 23:15 [ATN: git maintainer] Git package depends on python Jon Ross
2016-05-16 23:24 ` Warren Young
2016-05-16 23:38   ` Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).