Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run in windows #28

Open
amelon opened this issue Aug 8, 2014 · 1 comment
Open

run in windows #28

amelon opened this issue Aug 8, 2014 · 1 comment

Comments

@amelon
Copy link

amelon commented Aug 8, 2014

update files

file upgrade.py

add import os

rom os import *
import os
import sys

change the command line
from

codemod = "./bin/codemod.py"

to

codemod = "python %s" % os.path.join(os.path.dirname(os.path.abspath(__file__)), "bin", "codemod.py")

file bin/codemod.py

comment line 745

  # sys.stdout.write(curses.tigetstr('sgr0'))

add curse

goto http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses
download and install

run script

workaround to codemod issue: facebookarchive/codemod#32
open cmd
cd your project to upgrade

run script

python c:\Marionette.Upgrade\upgrade.py .\
@jasonLaster
Copy link
Member

Thanks amelon. Could you add this information to the readme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants