diff --git a/ivolution/gui/IvolutionWindow.py b/ivolution/gui/IvolutionWindow.py index 8b9f569..d300cba 100644 --- a/ivolution/gui/IvolutionWindow.py +++ b/ivolution/gui/IvolutionWindow.py @@ -180,7 +180,7 @@ either expressed or implied, of the FreeBSD Project.""" info.SetIcon(wx.Icon('ivolution/data/media/vitruve.png', wx.BITMAP_TYPE_PNG)) info.SetName('Ivolution') - info.SetVersion('0.8') + info.SetVersion('0.6') info.SetDescription(description) info.SetCopyright('(C) 2012 Julien Lengrand-Lambert') info.SetWebSite('http://www.lengrand.fr') diff --git a/msvcp90.dll b/msvcp90.dll new file mode 100644 index 0000000..af6cc3d Binary files /dev/null and b/msvcp90.dll differ diff --git a/setup.py b/setup.py index cd624cf..975aadb 100644 --- a/setup.py +++ b/setup.py @@ -3,16 +3,6 @@ Created on 19 avr. 2012 @author: julien Lengrand-Lambert ''' -import sys -# Check dependencies before installing anything -# Refuse if necessary -try: - import cv # opencv python bindings - from gi.repository import Gtk, GLib, GObject # GTK+ dependencies -except ImportError: - print "Some of the dependencies are missing. Please install them and try again" - print "You can learn more about the dependencies in the documentation" - sys.exit(0) # creating executable here from distutils.core import setup @@ -24,31 +14,31 @@ personal_dir = "~/.ivolution" def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() + def create_personal(): # creating personal folder if not os.path.exists(os.path.expanduser(personal_dir)): - print os.path.expanduser(personal_dir) os.makedirs(os.path.expanduser(personal_dir)) # creating personal file - log_root = 'fm.log' - log_file = os.path.join(os.path.expanduser(personal_dir),log_root) - if not os.path.exists(log_file): + log_root = 'ivolution.log' + log_file = os.path.join(os.path.expanduser(personal_dir), log_root) + if not os.path.exists(log_file): print log_file - open(log_file, 'w').close() + open(log_file, 'w').close() - os.chmod(log_file, 02777) # allow read write access + os.chmod(log_file, 02777) # allow read write access setup( - name = "Ivolution", - version = "0.5.1", - author = "Julien Lengrand-Lambert", - author_email = "julien@lengrand.fr", - description = ("Timelapse creation using Face Recognition"), - license = "BSD License", - keywords = "image_processing computer_vision one_picture_a_day photography", - url = "http://jlengrand.github.com/FaceMovie/", - download_url = "http://jlengrand.github.com/FaceMovie/", + name="Ivolution", + version="0.6", + author="Julien Lengrand-Lambert", + author_email="julien@lengrand.fr", + description=("Timelapse creation using Face Recognition"), + license="BSD License", + keywords="image_processing computer_vision one_picture_a_day photography timelapse face_recognition", + url="http://jlengrand.github.com/FaceMovie/", + download_url="http://jlengrand.github.com/FaceMovie/", packages=['ivolution', 'ivolution.util', 'ivolution.gui', 'ivolution.data'], long_description=read('README.markdown'), classifiers=[ @@ -57,17 +47,18 @@ setup( "Topic :: Multimedia :: Video :: Conversion", "Topic :: Scientific/Engineering :: Image Recognition", "Intended Audience :: End Users/Desktop", - "Environment :: X11 Applications :: GTK", - "Environment :: Console", + "Environment :: Win32 (MS Windows)", + "Environment :: X11 Applications", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: Unix", + "Operating System :: Microsoft :: Windows", "Programming Language :: Python :: 2 :: Only", ], - #data_files = data_files, - scripts=['Ivolutioner', 'Facemoviefier'], - package_dir={'ivolution.data' : 'ivolution/data'}, - package_data={'ivolution.data' : ['haarcascades/*', 'samples/*', 'ui/*', 'media/*']}, + #data_files = data_files, + scripts=['Ivolutioner'], + package_dir={'ivolution.data': 'ivolution/data'}, + package_data={'ivolution.data': ['haarcascades/*', 'samples/*', 'media/*']}, ) create_personal() diff --git a/setup_win.py b/setup_win.py new file mode 100644 index 0000000..44f22ad --- /dev/null +++ b/setup_win.py @@ -0,0 +1,18 @@ +''' +Created on 31 aug. 2012 + +@author: jll +''' +# creating executable here +from distutils.core import setup +import py2exe +import sys + +sys.argv.append('py2exe') +sys.path.append("C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\redist\\x86\\Microsoft.VC90.CRT") + +setup( + options = {'py2exe': {'bundle_files': 1, 'includes': ['numpy', 'wx'] } }, + console=['Ivolutioner'], + zipfile = None, +) \ No newline at end of file