6 import setuptools.command.egg_info as egg_info_cmd
9 from setuptools import setup, find_packages
11 SETUP_DIR = os.path.dirname(__file__) or '.'
12 README = os.path.join(SETUP_DIR, 'README.rst')
14 tagger = egg_info_cmd.egg_info
17 tagger = gittaggers.EggInfoFromGit
18 except (ImportError, OSError):
21 setup(name='arvados-pam',
23 description='Arvados PAM module',
24 long_description=open(README).read(),
26 author_email='info@arvados.org',
27 url='https://arvados.org',
28 download_url='https://github.com/curoverse/arvados.git',
36 ('lib/security', ['lib/libpam_arvados.py']),
37 ('share/pam-configs', ['pam-configs/arvados']),
38 ('share/doc/arvados-pam', ['LICENSE-2.0.txt', 'README.rst']),
39 ('share/doc/arvados-pam/examples', glob.glob('examples/*')),
42 'arvados-python-client>=0.1.20150801000000',
45 tests_require=['pbr<1.7.0', 'mock>=1.0', 'python-pam'],
47 cmdclass={'egg_info': tagger},