Skip to content

Commit

Permalink
a basic setup for py2exe
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaggs committed Sep 4, 2011
1 parent db57dbf commit a503852
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from distutils.core import setup
from sys import version
try:
import py2exe
except ImportError:
print "Warning: py2exe is not installed."
print "(Though it may not be available on your platform.)"

requires = ['win32api']
if version < '2.6.0':
requires.append("simplejson")


setup(
name='Digital Clock',
version='0.1',
author='Shane Rees',
url='http://github.com/Shaggs',
console=['clock.py']
)

0 comments on commit a503852

Please sign in to comment.