| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
Documents the project as Python 3 only to potential and current library
users.
As the project no longer supports Python 2, the wheel is not
"universal". From
https://wheel.readthedocs.io/en/stable/user_guide.html?highlight=universal#building-wheels:
> If your project … is expected to work on both Python 2 and 3, you will
> want to tell wheel to produce universal wheels …
|
| | |
|
| | |
|
| |
|
|
|
|
| |
* Remove py27 support
* [py27] Remove useless compatibility files
|
| |
|
|
|
|
|
|
|
|
| |
* Setup pre-commit hooks
* Run initial `tox -e lint`
* Fix package name
* Fix .travis.yml
|
| |
|
|
|
|
|
|
|
| |
Using pytest and tox directly is simpler and more conventional then
going through setup.py. Using setup.py installs packages as eggs where
as tox uses the more typical pip.
Overall simplifies setup.py.
Fixes #415
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Helps pip decide what version of the library to install. This is
especially useful when removing support for EOL Python versions.
https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
The signer/verifier interfaces are deprecated in cryptography==2.0. The
alternative sign/verify interfaces were added in cryptography==1.4.
|
| | |
|
| |
|
|
|
|
|
|
| |
Previously, pytest was pinned to an old version because of a bug in
pytest that has since been fixed. This change now puts us back to using
the latest version of pytest.
Fixes #253
|
| |
|
|
|
|
|
| |
The functions `decode_rfc6979_signature` and `encode_rfc6979_signature`
were deprecated in cryptography 1.0:
https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst#10---2015-08-12
and raise a DeprecationWarning now. The replacements are exactly the same.
|
| |
|
|
| |
PyPI only supports reStructuredText, so this won't look broken there now.
|
| |
|
|
| |
overlapping with the jwt package. Fixes #130
|
| |\
| |
| | |
Fix rpm build
|
| | |
| |
| | |
```python3 setup.py bdist_rpm ``` failed because of non asci symbol.
|
| |/ |
|
| |
|
|
| |
Based on instructions on pytest-runner: https://bitbucket.org/pytest-dev/pytest-runner
|
| |
|
|
|
|
| |
warnings
This was fixed in https://github.com/pytest-dev/pytest/pull/1081 but is not released yet.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
- Added a ton of tests to cover areas that weren't covered before
- Added a pep8 tox env to run pep8 tests as part of the build
- Moved keys into tests/keys
- Added test_algorithms.py for algorithms module tests
- Changed setup.py to run all tests in tests/
|
| |
|
|
| |
- Use version from jwt.__version__
- Update classifiers
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* split decode() internals into load() and verify_signature()
* pull code out of read() function in setup.py so it doesn't
fail when using distutils.core.run_setup() to build an archive
* the setup.py change also uses with so file closing is automatic
|
| | |
|
| |
|
|
| |
Also let `./setup.py test` work in Python 2
|
| | |
|
| |
|
| |
Bump version as pypi version is already the 0.1.5, it helps when using master version with setuptools.
|
| | |
|