Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'binary': 0.05; 'repository': 0.05; 'svn': 0.05; 'executable': 0.07; 'scripts': 0.09; 'mentions': 0.09; 'mercurial': 0.09; 'python': 0.11; 'question.': 0.13; 'url:)': 0.14; "hasn't": 0.15; 'executables': 0.16; 'googled': 0.16; 'mercurial,': 0.16; 'received:9': 0.16; 'received:ibm.com': 0.16; 'subject:compatible': 0.16; 'url:svn': 0.16; 'wrote:': 0.16; 'else,': 0.18; 'url:view': 0.18; "aren't": 0.22; 'subversion': 0.22; 'am,': 0.23; 'code.': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'chris': 0.26; 'separate': 0.27; 'rest': 0.28; 'fine': 0.29; 'alan': 0.29; 'directly,': 0.29; 'use?': 0.29; 'convert': 0.29; 'mention': 0.31; 'source': 0.31; "i'd": 0.31; 'header:Received:8': 0.31; 'code': 0.31; 'structure': 0.32; 'url:python': 0.33; 'clarify': 0.33; 'directory,': 0.33; 'though.': 0.33; 'quickly': 0.34; 'subject:?': 0.34; 'file': 0.34; 'changed': 0.35; 'could': 0.35; 'to:addr:python-list': 0.35; 'dir': 0.35; 'files,': 0.35; 'newer': 0.35; 'list': 0.35; 'but': 0.36; 'url:org': 0.36; 'modules': 0.36; 'url:library': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'tue,': 0.38; 'version': 0.38; 'someone': 0.38; 'files': 0.38; 'pm,': 0.39; 'url:2': 0.39; 'does': 0.39; 'enough': 0.39; 'url:docs': 0.39; 'to:addr:python.org': 0.39; 'subject:-': 0.39; 'sure': 0.40; 'where': 0.40; 'some': 0.40; 'your': 0.60; "you'll": 0.61; 'license': 0.65; 'charset:windows-1252': 0.65; 'legal': 0.66; '26,': 0.72; 'comment.': 0.91 Date: Mon, 25 May 2015 21:37:36 -0300 From: Alan Evangelista User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: msgfmt.py and pygettext.py are LGPL or LGPL-compatible? References: <55636D25.4000702@linux.vnet.ibm.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15052600-8236-0000-0000-00000BCC0F34 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 48 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432601285 news.xs4all.nl 2933 [2001:888:2000:d::a6]:52592 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91217 On 05/25/2015 08:13 PM, Chris Angelico wrote: > On Tue, May 26, 2015 at 4:42 AM, Alan Evangelista > wrote: >> https://docs.python.org/2/library/gettext.html suggests that I use msgfmt.py >> and pygettext.py, available >> at Python Subversion ( http://svn.python.org/view/python/trunk/Tools/i18n/). >> What license those executable >> scripts use? Are they LGPL? I want to convert these executables to Python >> modules and use them in my >> applications, but I fear the viral effect of LGPL over my code. Could >> someone clarify if I can do it >> without legal concerns? > Where did you get the svn link from? If nothing else, you'll get a > newer version of the file by looking in Mercurial, as the file you > link to hasn't changed in some years. https://docs.python.org/2/library/gettext.html#id4 mentions that msgfmt.py is in Tools/i18n directory, but does not mention the source code repository URL, so I had to look by myself. I googled "msgfmt.py download" and the SVN URL came up (btw it has the dir structure mentioned in Python doc). I could not find msgfmt.py and pygettext.py quickly looking at the Mercurial repositories list at https://hg.python.org/ . Anyway, the 2 files in SVN work fine for me. > Those files aren't binary executables, so you can just have a look at > them to see if there's a license comment. No license in the source files, just authorship. I am not sure that this is enough to assert they have no license, though. > And AFAIK, you should be > able to keep them completely separate from the rest of your code. I can use the Python executables directly, but I'd like to convert them to Python modules and eliminate the part of the code I do not use, hence my legal question. Regards, Alan Evangelista