From 2194df2fc223313faf78b4866c2fd6ceda5ee797 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Wed, 10 Jun 2020 21:12:48 -0700 Subject: Move setup information to declarative setup.cfg (#495) Use a declarative syntax to avoid mixing code and configuration. Simplifies handling of long description and version by reducing some boilerplate. For details on this setuptools feature, see: https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files --- setup.cfg | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 setup.cfg (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..6f6616b --- /dev/null +++ b/setup.cfg @@ -0,0 +1,49 @@ +[metadata] +name = PyJWT +version = attr: jwt.__version__ +author = Jose Padilla +author_email = hello@jpadilla.com +description = JSON Web Token implementation in Python +license = MIT +keywords = + json + jwt + security + signing + token + web +url = https://github.com/jpadilla/pyjwt +long_description = file: README.rst +classifiers = + Development Status :: 5 - Production/Stable + Intended Audience :: Developers + Natural Language :: English + License :: OSI Approved :: MIT License + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Topic :: Utilities + +[options] +python_requires = >=3.5 +packages = find: + +[options.entry_points] +console_scripts = + pyjwt = jwt.__main__:main + +[options.extras_require] +crypto = + cryptography >= 1.4 +tests = + pytest>=4.0.1,<5.0.0 + pytest-cov>=2.6.0,<3.0.0 + +[options.packages.find] +exclude = + tests + tests.* -- cgit v1.2.1