Skip to content

Commit

Permalink
Add setup files
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Davis committed Apr 22, 2015
1 parent c213045 commit bb07ad8
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,2 @@
include README.md
include LICENSE
5 changes: 5 additions & 0 deletions jose/__init__.py
@@ -0,0 +1,5 @@

__version__ = "0.1.0"
__author__ = 'Michael Davis'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015 Michael Davis'
5 changes: 5 additions & 0 deletions setup.cfg
@@ -0,0 +1,5 @@
[flake8]
max-line-length = 119

[wheel]
universal = 1
45 changes: 45 additions & 0 deletions setup.py
@@ -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',
]
)

0 comments on commit bb07ad8

Please sign in to comment.