Details:
* WHile Github correctly detects the BSD license from LICENSE.txt, Pypi does
not and needs either a Trove classifier or the license argument specified
in setup(). This change adds that the package supports the BSD license as
a classifier, following the recommendation in
https://packaging.python.org/guides/distributing-packages-using-setuptools/#license
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
Details:
* This change adds package metadata to indicate that the current
version of PlexAPI only supports Python 3. Because Python 3.5 is
the lowest Python version supported by the PSF, the minimum
Python version indicated in the package metadata is 3.5.
(as per the python_requires argument of setup()).
* Added Trove classifiers for OS independency and for Python versions,
although Python is only stated very generally as Python 3,
in order to avoid maintenance effort when new Python 3.x versions
will be released in the future.
* Using the python_requires argument of setup() required using
setuptools instead of distutils. Distutils is pretty old stuff
anyway and should not be used anymore.
Setuptools is automatically part of any Python 3.x environment
these days, including virtual Python environments.
For details on distutils vs setuptools, see for example
https://packaging.python.org/guides/tool-recommendations/#packaging-tool-recommendations
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>