[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Donald Stufft
> On Jul 12, 2018, at 3:45 AM, Robin Becker wrote: > > Am I right in assuming that uploading a different file with the same name > will cause an error? Correct.-- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email to distutils-sig-le...@python.org https://mail.

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
On 12/07/2018 16:22, Cooper Ry Lees wrote: Hi all, Side note / side track / I've noticed this recently. Was adding LICENSE file ever a default for distutils/setuptools to add too sdsists? Has that changed recently? I build wheels from sdists from PyPI (to link with my own internal versions of

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Cooper Ry Lees
Hi all, Side note / side track / I've noticed this recently. Was adding LICENSE file ever a default for distutils/setuptools to add too sdsists? Has that changed recently? I build wheels from sdists from PyPI (to link with my own internal versions of C libraries etc. - I don't like to trust bi

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
On 12/07/2018 14:13, John Thorvald Wodder II wrote: . I believe the current standard way to distribute a LICENSE file with a package is to add "include LICENSE" (or whatever the filename is) to MANIFEST.in (which adds the file to the sdist) and add "license_file = LICENSE" (or other fi

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread John Thorvald Wodder II
On 2018 Jul 12, at 07:20, Robin Becker wrote: > > >> (full list: https://opensource.org/licenses/alphabetical) >> The Reportlab licence is listed as "BSD License (BSD license (see >> license.txt for details)", but, AFAICS, none of the downloadable files >> actually include a license.tx

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
(full list: https://opensource.org/licenses/alphabetical) The Reportlab licence is listed as "BSD License (BSD license (see license.txt for details)", but, AFAICS, none of the downloadable files actually include a license.txt file. (This means redistributing these files is against eith

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
On 12/07/2018 09:39, Petr Viktorin wrote: On 07/12/18 09:41, Robin Becker wrote: On 11/07/2018 17:28, Paul G wrote: I think the classifier you want is `License :: Other/Proprietary License`, but you can choose the most appropriate one from the list. Actually I'm not sure this is correct. The

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Pradyun Gedam
On Thu, 12 Jul 2018, 13:06 Thomas Kluyver, wrote: > On Thu, Jul 12, 2018, at 8:19 AM, Robin Becker wrote: > > The previous > > answer says there is a list so I can use that. > > I don't think anyone linked to it yet, so: > https://pypi.org/pypi?%3Aaction=list_classifiers https://pypi.org/classi

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Chris Jerdonek
On Thu, Jul 12, 2018 at 12:32 AM, Robin Becker wrote: > On 11/07/2018 19:44, Thomas Kluyver wrote: > >> On Wed, Jul 11, 2018, at 7:32 PM, Chris Jerdonek wrote: >> >>> And yet you can see "License: ReportLab BSD Derived" in the left-hand >>> column under "Meta," so how did it get there? Did PyPI p

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Petr Viktorin
On 07/12/18 09:41, Robin Becker wrote: On 11/07/2018 17:28, Paul G wrote: I think the classifier you want is `License :: Other/Proprietary License`, but you can choose the most appropriate one from the list. Actually I'm not sure this is correct. The license is actually the BSD one, but deriv

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
On 11/07/2018 19:39, Donald Stufft wrote: On Jul 11, 2018, at 12:37 PM, Nathaniel Smith wrote: Possibly PyPI is noticing that the file you're trying to upload is identical to the one that's already there and counting that as a "successful upload"? Yes, if you try to upload the same file t

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
On 11/07/2018 17:28, Paul G wrote: I think the classifier you want is `License :: Other/Proprietary License`, but you can choose the most appropriate one from the list. Actually I'm not sure this is correct. The license is actually the BSD one, but derived in the standard way. So it's not pro

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Thomas Kluyver
On Thu, Jul 12, 2018, at 8:19 AM, Robin Becker wrote: > The previous > answer says there is a list so I can use that. I don't think anyone linked to it yet, so: https://pypi.org/pypi?%3Aaction=list_classifiers -- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
On 11/07/2018 19:44, Thomas Kluyver wrote: On Wed, Jul 11, 2018, at 7:32 PM, Chris Jerdonek wrote: And yet you can see "License: ReportLab BSD Derived" in the left-hand column under "Meta," so how did it get there? Did PyPI previously fall back to including the "License" classifier value as is (

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
On 11/07/2018 17:29, Ian Stapleton Cordasco wrote: 1) I think it is completely wrong for twine/pypi to fail to upload because of the license field. The license is derived from BSD and the same string is present in the previously uploaded versions of this package. What are valid licenses? Presumab

[Distutils]Re: pypi/twine complains about license

2018-07-12 Thread Robin Becker
On 11/07/2018 17:28, Paul G wrote: I think the issue here is not your use of the "license" field (though using the classifier-like syntax there is dubious), but the fact that you are specifying an invalid classifier. The valid classifiers are enumerated, you can find them here: https://pypi.or