Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (34 sloc) 1.257 kB
2b59eae @rfk Adding initial code for PyVEP.
rfk authored
1
2 import os
3ffefcc @rfk Preliminary support for Python3.
rfk authored
3 import sys
2b59eae @rfk Adding initial code for PyVEP.
rfk authored
4 from setuptools import setup, find_packages
5
6 here = os.path.abspath(os.path.dirname(__file__))
7
8 with open(os.path.join(here, 'README.rst')) as f:
9 README = f.read()
10
11 with open(os.path.join(here, 'CHANGES.txt')) as f:
12 CHANGES = f.read()
13
02f0c7e @ametaireau mock is not supposed to be a dependency
ametaireau authored
14 requires = ['requests']
2b59eae @rfk Adding initial code for PyVEP.
rfk authored
15
3126a37 @rfk Remove ability to use a custom JWT subclass for parsing.
rfk authored
16 tests_require = requires + ['mock']
ff29d95 @rfk Native python3 support, without requiring 2to3 translation.
rfk authored
17 if sys.version_info < (2, 7):
18 tests_require.append("unittest2")
3126a37 @rfk Remove ability to use a custom JWT subclass for parsing.
rfk authored
19
3f85301 @rfk Rename from PyVEP to PyBrowserID
rfk authored
20 setup(name='PyBrowserID',
2414511 @rfk Bump dev version number
rfk authored
21 version='0.10.0',
8fa92fb @rfk Prep for version 0.4.0, the "PyBrowserID" rename.
rfk authored
22 description='Python library for the BrowserID Protocol',
2b59eae @rfk Adding initial code for PyVEP.
rfk authored
23 long_description=README + '\n\n' + CHANGES,
abfa121 @rfk Bump to version 0.3.2
rfk authored
24 license='MPLv2.0',
2b59eae @rfk Adding initial code for PyVEP.
rfk authored
25 classifiers=[
26 "Programming Language :: Python",
686f870 @rfk Prepare for 0.9 release.
rfk authored
27 "Programming Language :: Python :: 2",
28 "Programming Language :: Python :: 3",
29 "Development Status :: 4 - Beta",
abfa121 @rfk Bump to version 0.3.2
rfk authored
30 "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
2b59eae @rfk Adding initial code for PyVEP.
rfk authored
31 ],
4f2b550 @rfk putting canonical repository under mozilla/PyVEP
rfk authored
32 author='Mozilla Identity Team',
33 author_email='dev-identity@lists.mozilla.org',
3f85301 @rfk Rename from PyVEP to PyBrowserID
rfk authored
34 url='https://github.com/mozilla/PyBrowserID',
35 keywords='authentication browserid login email',
2b59eae @rfk Adding initial code for PyVEP.
rfk authored
36 packages=find_packages(),
37 include_package_data=True,
38 zip_safe=False,
39 install_requires=requires,
3126a37 @rfk Remove ability to use a custom JWT subclass for parsing.
rfk authored
40 tests_require=tests_require,
ff29d95 @rfk Native python3 support, without requiring 2to3 translation.
rfk authored
41 test_suite="browserid.tests")
Something went wrong with that request. Please try again.