-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from IdentityPython/develop
Prepare for release 1.2.0
- Loading branch information
Showing
30 changed files
with
221 additions
and
116 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# PEP 518: https://www.python.org/dev/peps/pep-0518/ | ||
|
||
[tool.black] | ||
line-length = 100 | ||
|
||
[tool.isort] | ||
force_single_line = true | ||
known_first_party = "cryptojwt" | ||
include_trailing_comma = true | ||
force_grid_wrap = 0 | ||
use_parentheses = true | ||
line_length = 100 | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
|
||
[tool.coverage.report] | ||
exclude_lines = [ | ||
"pragma: no cover", | ||
"raise NotImplementedError", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,12 @@ | |
|
||
from setuptools import setup | ||
|
||
__author__ = 'Roland Hedberg' | ||
__author__ = "Roland Hedberg" | ||
|
||
with open('src/cryptojwt/__init__.py', 'r') as fd: | ||
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', | ||
fd.read(), re.MULTILINE).group(1) | ||
with open("src/cryptojwt/__init__.py", "r") as fd: | ||
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) | ||
|
||
tests_requires = ['responses', 'pytest', 'isort>=5.0.2', 'black'] | ||
tests_requires = ["responses", "pytest", "isort>=5.0.2", "black"] | ||
|
||
setup( | ||
name="cryptojwt", | ||
|
@@ -35,8 +34,14 @@ | |
author="Roland Hedberg", | ||
author_email="[email protected]", | ||
license="Apache 2.0", | ||
packages=["cryptojwt", "cryptojwt/jwe", "cryptojwt/jwk", "cryptojwt/jws", "cryptojwt/tools", | ||
"cryptojwt/serialize"], | ||
packages=[ | ||
"cryptojwt", | ||
"cryptojwt/jwe", | ||
"cryptojwt/jwk", | ||
"cryptojwt/jws", | ||
"cryptojwt/tools", | ||
"cryptojwt/serialize", | ||
], | ||
package_dir={"": "src"}, | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
|
@@ -45,22 +50,22 @@ | |
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8" | ||
"Programming Language :: Python :: 3.8", | ||
], | ||
install_requires=["cryptography", "requests"], | ||
tests_require=['pytest'], | ||
tests_require=["pytest"], | ||
zip_safe=False, | ||
extras_require={ | ||
'testing': tests_requires, | ||
'docs': ['Sphinx', 'sphinx-autobuild', 'alabaster'], | ||
'quality': ['isort>=5.0.2', 'black'], | ||
"testing": tests_requires, | ||
"docs": ["Sphinx", "sphinx-autobuild", "alabaster"], | ||
"quality": ["isort>=5.0.2", "black"], | ||
}, | ||
scripts=glob.glob('script/*.py'), | ||
scripts=glob.glob("script/*.py"), | ||
entry_points={ | ||
"console_scripts": [ | ||
"jwkgen = cryptojwt.tools.keygen:main", | ||
"jwkconv = cryptojwt.tools.keyconv:main", | ||
"jwtpeek = cryptojwt.tools.jwtpeek:main", | ||
] | ||
} | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.