forked from juanjbrown/python-openam
- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
executable file
·44 lines (34 loc) · 1010 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·44 lines (34 loc) · 1010 Bytes
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
#!/usr/bin/env python
# $Revision $
fromdistutils.coreimportsetup, Command
importos
# Get version from pkg index
fromopenamimport__version__, __author_name__, __author_email__
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 OpenAM.
"""
setup(
name='python-openam',
version=__version__,
author=__author_name__,
author_email=__author_email__,
license='MIT',
py_modules=['openam'],
url='https://github.com/juanjbrown/python-openam/',
description='Python OpenAM interface',
long_description=long_desc,
scripts=[],
cmdclass={
'clean': CleanCommand,
}
)