mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
more tweaking setup.py...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
460d2edea2
commit
df5b82acd4
11
gid.py
11
gid.py
@ -1,7 +1,7 @@
|
|||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
||||||
__version__ = '''0.0.01'''
|
__version__ = '''0.0.01'''
|
||||||
__sub_version__ = '''20130325203750'''
|
__sub_version__ = '''20130714221105'''
|
||||||
__copyright__ = '''(c) Alex A. Naanou 2011'''
|
__copyright__ = '''(c) Alex A. Naanou 2011'''
|
||||||
|
|
||||||
|
|
||||||
@ -98,8 +98,8 @@ def image_gid(path, date=None,
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------------
|
#--------------------------------------------------handle_commandline---
|
||||||
if __name__ == '__main__':
|
def handle_commandline():
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
|
||||||
parser = OptionParser()
|
parser = OptionParser()
|
||||||
@ -142,6 +142,11 @@ if __name__ == '__main__':
|
|||||||
print image_gid(IN_PATH)
|
print image_gid(IN_PATH)
|
||||||
|
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
if __name__ == '__main__':
|
||||||
|
handle_commandline()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
# vim:set ts=4 sw=4 nowrap :
|
# vim:set ts=4 sw=4 nowrap :
|
||||||
|
|||||||
11
setup.py
11
setup.py
@ -2,7 +2,7 @@
|
|||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
||||||
__version__ = '''0.1.12'''
|
__version__ = '''0.1.12'''
|
||||||
__sub_version__ = '''20130714220348'''
|
__sub_version__ = '''20130714221612'''
|
||||||
__copyright__ = '''(c) Alex A. Naanou 2003'''
|
__copyright__ = '''(c) Alex A. Naanou 2003'''
|
||||||
|
|
||||||
|
|
||||||
@ -68,7 +68,8 @@ setup(
|
|||||||
|
|
||||||
entry_points = {
|
entry_points = {
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'buildcache = buildcache:handle_commandline'
|
'buildcache = buildcache:handle_commandline',
|
||||||
|
'gid = gid:handle_commandline',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -83,7 +84,11 @@ setup(
|
|||||||
'pyexiv2',
|
'pyexiv2',
|
||||||
]
|
]
|
||||||
}},
|
}},
|
||||||
console = ['buildcache.py'],
|
|
||||||
|
console = [
|
||||||
|
'buildcache.py',
|
||||||
|
'gid.py',
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user