{"issue":{"created_at":"2011-11-11T00:20:09Z","state":"closed","updated_at":"2011-12-06T10:41:00Z","user":{"gravatar_id":"75450e9890e827bff823b39785ff79dc","id":1187415,"url":"https://api.github.com/users/Czarek007","login":"Czarek007","avatar_url":"https://secure.gravatar.com/avatar/75450e9890e827bff823b39785ff79dc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":10,"body":"I've been struggling to run the script under Windows.\r\nSome instructions for Windows users would be appreciated in the README file.\r\n\r\nThe problem are the dependencies, under Linux they are installed automatically,\r\nbut under windows you have to install them manually.\r\n\r\nI've managed to install all the libraries and run the script, but it took me about\r\nan hour, I'll try to describe the steps that are required to make it, I'm not sure\r\nwhether I remember it all, as I was doing it a few days ago.\r\n\r\n# Jinja2\r\n\r\nThis library was easy to install, steps:\r\n1. Download the sources:\r\nhttp://pypi.python.org/pypi/Jinja2#downloads => Jinja2-2.6.tar.gz => Extract\r\n2. Inside jinja2 directory type this command: \"python setup.py install\"\r\n\r\n# IMDbPy\r\n\r\nThese are instructions for Python 2.6 - this is version installed on my windows machine.\r\nLXML library seems to be compatible up to Python 2.7 - so if you have this version it \r\nshould also work.\r\n\r\nDownload latest version of IMDbPy:\r\nhttp://imdbpy.sourceforge.net/downloads.html\r\n\r\nWe are not yet installing it, read on...\r\n\r\n# lxml\r\n\r\nThis imdb library requires installing additional library called lxml, which in turn requires installing\r\nanother libraries: libxml, libxslt, so let's install them first.\r\n\r\nTo install these xml libraries you need a C compiler. It is quite automatic provided that you have\r\nVisual Studio installed. I had installed Visual Studio 2008 and the setup scripts automatically\r\ndetected the compiler and run it without me even knowing it.\r\n\r\nI was using instructions from here \"Static linking on windows\":\r\nhttp://lxml.de/build.html#static-linking-on-windows\r\n\r\nFrom here download:\r\nftp://ftp.zlatkovic.com/pub/libxml/oldreleases/\r\n\r\niconv-1.9.1.win32.zip\r\nlibxml2-2.7.7.win32.zip\r\nlibxslt-1.1.9.win32.zip\r\nzlib-1.2.3.win32.zip\r\n\r\nExtract files.\r\n\r\nDownload lxml 2.3.1:\r\nhttp://lxml.de/files/lxml-2.3.1.tgz\r\n\r\nExtract it.\r\n\r\nGo to \"lxml\" directory and edit 2 variables in file \"setup.py\":\r\n\r\nSTATIC_INCLUDE_DIRS = [\r\n\t\"..\\\\iconv-1.9.1.win32\\\\include\",\r\n\t\"..\\\\libxml2-2.7.7.win32\\\\include\",\r\n\t\"..\\\\libxslt-1.1.9.win32\\\\include\",\r\n\t\"..\\\\zlib-1.2.3.win32\\\\include\"\r\n]\r\nSTATIC_LIBRARY_DIRS = [\r\n\t\"..\\\\iconv-1.9.1.win32\\\\lib\",\r\n\t\"..\\\\libxml2-2.7.7.win32\\\\lib\",\r\n\t\"..\\\\libxslt-1.1.9.win32\\\\lib\",\r\n\t\"..\\\\zlib-1.2.3.win32\\\\lib\"\r\n] \r\n\r\nNow, in lxml dir, type from command: \"python setup.py bdist_wininst --static\".\r\n\r\nNext, type: \"python setup.py install\".\r\n\r\nNow we go back to IMDbPy library. Go to IMDbPy directory and type: \"python setup.py install\".\r\n\r\nThat should be all. Now you can run Folder-Theater script. Good Luck.\r\n\r\nCzarek.","assignee":null,"id":2204754,"number":6,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Running script under Windows","html_url":"https://github.com/leplatrem/folder-theater/issues/6","closed_at":"2011-11-17T10:04:23Z","url":"https://api.github.com/repos/leplatrem/folder-theater/issues/6","milestone":null},"action":"created","comment":{"created_at":"2011-12-06T10:41:00Z","updated_at":"2011-12-06T10:41:00Z","user":{"gravatar_id":"75450e9890e827bff823b39785ff79dc","id":1187415,"url":"https://api.github.com/users/Czarek007","login":"Czarek007","avatar_url":"https://secure.gravatar.com/avatar/75450e9890e827bff823b39785ff79dc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"The \"Alternative\" link is still broken ;)","id":3030691,"url":"https://api.github.com/repos/leplatrem/folder-theater/issues/comments/3030691"}}