> $ python3 -c "from urllib.request import urlopen;
> print(urlopen('
https://pypi.org/pypi?:action=list_classifiers').read().decode())"
Yeah, it is bit long... anyway, Thanks!
--
Takayuki Shimizukawa
On Tue, Jan 30, 2018 at 1:05 PM Nick Coghlan <[email protected]> wrote:
> On 30 January 2018 at 09:10, Takayuki Shimizukawa <[email protected]>
> wrote:
> > I see.
> > I have no objection to deprecate the register command.
> > In the future (already?), that means we can not get Trove Classifiers
> list
> > on the command line with setup.py (I do not know how much this command
> was
> > used...).
>
> Right, but you can instead get them directly from the PyPI API with
>
> $ python3 -c "from urllib.request import urlopen;
> print(urlopen('
> https://pypi.org/pypi?:action=list_classifiers').read().decode())"
>
> (curl/wget/etc will also work, but the advantage of the above version
> is that it only requires the Python 3 standard library)
>
> Cheers,
> Nick.
>
> --
> Nick Coghlan | [email protected] | Brisbane, Australia
>
_______________________________________________
Distutils-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig