blob: 8aa0e43ca8de10a0e5ec30393f07341a33b530ae [file] [log] [blame]
#!/usr/bin/env python
# coding: utf-8
from __future__ import print_function
import os
import sys
from setuptools import setup
pjoin = os.path.join
here = os.path.abspath(os.path.dirname(__file__))
# Get the current package version.
version_ns = {}
with open(pjoin(here, 'version.py')) as f:
exec(f.read(), {}, version_ns)
setup_args = dict(
name = 'jhub_airavata_authenticator',
packages = ['jhub_airavata_authenticator'],
version = version_ns['__version__'],
description = """Airavata Authenticator: An Authenticator for Jupyterhub that authenticates against Airavata user store.""",
long_description = "",
author = "Dimuthu Wannipurage (https://github.com/DImuthuUpe)",
author_email = "dimuthu.upeksha2@gmail.com",
url = "https://github.com/DImuthuUpe/jhub_airavata_authenticator",
license = "Apache 2.0",
platforms = "Linux, Mac OS X",
keywords = ['Authenticator', 'Airavata'],
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: Apache 2.0',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
)
# setuptools requirements
if 'setuptools' in sys.modules:
setup_args['install_requires'] = install_requires = []
install_requires.append('jupyterhub')
install_requires.append('lxml')
def main():
setup(**setup_args)
if __name__ == '__main__':
main()