This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (70 loc) · 2.43 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env python
# encoding: utf-8
# Copyright 2010–2015 California Institute of Technology. ALL RIGHTS
# RESERVED. U.S. Government Sponsorship acknowledged.
import os.path
from setuptools import setup, find_packages
version = '1.0.5'
_descr = u'''**********
edrn.sync
**********
.. contents::
EDRN Sync provides an API for slurping up DMCC RDF representing
EDRN users and groups and registering those users into our EDRN
IC LDAP server.
'''
_keywords = 'edrn sync ldap dmcc informatics center'
_classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: Other/Proprietary License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Database :: Front-Ends',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries :: Python Modules',
]
def read(*rnames):
return unicode(open(os.path.join(os.path.dirname(__file__), *rnames), 'rb').read(), 'utf-8')
long_description = _descr + read('docs', 'INSTALL.txt') + u'\n' + read('docs', 'USE.txt') + u'\n' + read('docs', 'HISTORY.txt')
open('doc.txt', 'wb').write(long_description.encode('utf-8'))
setup(
name='edrn.sync',
version=version,
description='EDRN Sync Services',
long_description=long_description,
classifiers=_classifiers,
keywords=_keywords,
author='Chris Mattmann',
author_email='[email protected]',
url='https://github.com/EDRN/edrn.sync',
license=read('docs', 'LICENSE.txt'),
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['edrn'],
include_package_data=True,
zip_safe=True,
test_suite='edrn.sync.tests',
extras_require={'test': ['unittest2']},
entry_points={
'console_scripts': [
'dmccsync = edrn.sync.dmccsync:main',
'dmccgroupsync = edrn.sync.dmccmakegroups:main',
'secureoldpasswords = edrn.sync.oldpasswords:main',
],
},
package_data = {
# And include any *.conf files found in the 'conf' subdirectory
# for the edrn.sync package
'edrn.sync.conf': ['*.conf'],
'edrn.sync': ['*.files'],
},
install_requires=[
'setuptools',
'oodt==0.9', # 0.10 doesn't include ez_setup.py and fails to install
'python-ldap',
'rdflib',
],
)