Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Davis
committed
Apr 22, 2015
1 parent
c213045
commit bb07ad8
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
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,2 @@ | ||
include README.md | ||
include LICENSE |
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,5 @@ | ||
|
||
__version__ = "0.1.0" | ||
__author__ = 'Michael Davis' | ||
__license__ = 'MIT' | ||
__copyright__ = 'Copyright 2015 Michael Davis' |
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,5 @@ | ||
[flake8] | ||
max-line-length = 119 | ||
|
||
[wheel] | ||
universal = 1 |
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,45 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
import os | ||
|
||
import jose | ||
|
||
from setuptools import setup | ||
|
||
|
||
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: | ||
long_description = readme.read() | ||
|
||
|
||
def get_packages(package): | ||
""" | ||
Return root package and all sub-packages. | ||
""" | ||
return [ | ||
dirpath | ||
for dirpath, dirnames, filenames in os.walk(package) | ||
if os.path.exists(os.path.join(dirpath, '__init__.py')) | ||
] | ||
|
||
|
||
setup( | ||
name='python-jose', | ||
version=jose.__version__, | ||
author='Michael Davis', | ||
author_email='mike.philip.davis@gmail.com', | ||
description='JOSE implementation in Python', | ||
license='MIT', | ||
keywords='jose jws jwe jwt json web token security signing', | ||
url='http://github.com/mpdavis/jose', | ||
packages=get_packages('jose'), | ||
long_description=long_description, | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'Natural Language :: English', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2.7', | ||
'Topic :: Utilities', | ||
] | ||
) |