diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-06-10 21:12:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 10:12:48 +0600 |
commit | 2194df2fc223313faf78b4866c2fd6ceda5ee797 (patch) | |
tree | ccb8f196b3cc931aee5408561fac3fb5e8408fb7 /setup.cfg | |
parent | 079849d17687fde8fcb545c76882766883aa0f7a (diff) | |
download | pyjwt-2194df2fc223313faf78b4866c2fd6ceda5ee797.tar.gz |
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
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 49 |
1 files changed, 49 insertions, 0 deletions
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.* |