- Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
executable file
·43 lines (37 loc) · 1.02 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·43 lines (37 loc) · 1.02 KB
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
#!/usr/bin/env python
# $Revision $
fromdistutils.coreimportsetup, Command
importglob
importos
importsys
importunittest
# Get version from pkg index
fromopenssoimport__version__
classCleanCommand(Command):
description="cleans up non-package files. (dist, build, etc.)"
user_options= []
definitialize_options(self):
self.files=None
deffinalize_options(self):
self.files='./build ./dist ./MANIFEST ./*.pyc examples/*.pyc ./*.egg-info'
defrun(self):
print'Cleaning: %s'%self.files
os.system('rm -rf '+self.files)
long_desc="""
Python interface for OpenSSO/OpenAM.
"""
setup(
name='python-opensso',
version=__version__,
author='Jathan McCollum',
author_email='jathan+github@gmail.com',
license='MIT',
py_modules=['opensso'],
url='https://github.com/jathanism/python-opensso/',
description='Python OpenSSO/OpenAM interface',
long_description=long_desc,
scripts=[],
cmdclass= {
'clean': CleanCommand,
}
)