1. Josh VanderLinden
  2. clip2zeus

Commits

Josh VanderLinden  committed 4791bb5

Added a script to be able to run the GUI easily and updated the setup script to use it

  • Participants
  • Parent commits 5968309
  • Branches default

Comments (0)

Files changed (5)

File MANIFEST

View file
 LICENSE
 setup.py
 clip2zeus/__init__.py
-clip2zeus/clip2zeus
 clip2zeus/clip2zeus.py
+clip2zeus/clip2zeus_ctl.py
 clip2zeus/common.py
+clip2zeus/gui.py
 clip2zeus/linux.py
 clip2zeus/osx.py
 clip2zeus/win32.py
+clip2zeus/scripts/clip2zeus
+clip2zeus/scripts/clip2zeusctl
+clip2zeus/scripts/tkclip2zeus

File MANIFEST.in

View file
-include LICENSE clip2zeus/*.py clip2zeus/common.py
+include LICENSE clip2zeus/*.py clip2zeus/common.py clip2zeus/scripts/*

File clip2zeus/gui.py

View file
         self.execute_command('quit')
         sys.exit(0)
 
-if __name__ == '__main__':
+def main():
     Clip2ZeusTk()
 
+if __name__ == '__main__':
+    main()
+

File clip2zeus/scripts/tkclip2zeus

View file
+#!/usr/bin/env python
+
+from clip2zeus.gui import main
+
+main()

File setup.py

View file
     license='MIT',
     scripts=[
         'clip2zeus/scripts/clip2zeus',
-        'clip2zeus/scripts/clip2zeusctl'
+        'clip2zeus/scripts/clip2zeusctl',
+        'clip2zeus/scripts/tkclip2zeus',
     ],
-    package_dir={'': 'clip2zeus'},
-    packages=[''],
+    package_dir={'clip2zeus': 'clip2zeus'},
+    packages=['clip2zeus'],
     platforms=[
         'Windows',
         'OSX',