Skip to content

Commit

Permalink
Created files to publish python package
Browse files Browse the repository at this point in the history
Added the necessary file to publish a python package into pypi
  • Loading branch information
dmtzs committed Oct 29, 2022
1 parent ef2673e commit 8c814a6
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
29 changes: 29 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[metadata]
name = Flask-authgen-jwt
version = 1.0.0
author = Diego Martinez and Guillermo Ortega
author_email = [email protected]
description = JWT authentication and generator for Flask routes
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/dmtzs/Flask-authgen-jwt
project_urls =
Bug Tracker = https://github.com/miguelgrinberg/flask-httpauth/issues
classifiers =
Environment :: Web Environment
Intended Audience :: Developers
Programming Language :: Python :: 3
Programming Language :: Python :: Implementation :: MicroPython
License :: OSI Approved :: MIT License
Operating System :: OS Independent

[options]
zip_safe = False
include_package_data = True
install_requires =
Flask,
PyJWT
package_dir =
= src
py_modules =
flask_authgen_jwt
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from setuptools import setup

setup()
2 changes: 0 additions & 2 deletions src/flask_authgen_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
:license: MIT, see LICENSE for more details.
"""

#TODO: Verify at the end of the core implementation the better way to implement error handlers so you can manipulate the error messages

try:
import jwt
import typing
Expand Down

0 comments on commit 8c814a6

Please sign in to comment.