Commit fa93d8563083d477ae19288af84bdd8147c25788
1 parent
7e466ff2
Exists in
master
and in
1 other branch
Add servent_setup.py to generate servent.exe, the executable responsible to inte…
…grate UnityPlayer to NVDA software
Showing
1 changed file
with
17 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,17 @@ |
| 1 | +# -*- coding: utf-8 -*- | |
| 2 | +''' | |
| 3 | +author: Danilo Assis | |
| 4 | +date: 26/09/2016 | |
| 5 | + | |
| 6 | + | |
| 7 | +This code is used to generate a binary executable file | |
| 8 | + | |
| 9 | +You have to include inside PYTHON_PATH environment variable the path to nvda source files to compile correctly servent.py | |
| 10 | + | |
| 11 | +''' | |
| 12 | +from distutils.core import setup | |
| 13 | +import py2exe | |
| 14 | + | |
| 15 | +print "Usage: \npython servent_setup.exe py2exe\nInside the file you define whats the name of your module." | |
| 16 | +raw_input("Do you understand? Y/N ") | |
| 17 | +setup(console=['source\\servent.py']) | |
| 0 | 18 | \ No newline at end of file | ... | ... |