Author

Topic: problem compiling gpu-miner into an .exe (Read 600 times)

newbie
Activity: 11
Merit: 0
January 10, 2014, 05:41:02 AM
#3
Sweet! many many thanks!
haha well .exe is just easy for others to start mining and increase the popularity the coin
legendary
Activity: 1512
Merit: 1036
January 09, 2014, 07:26:45 AM
#2
Who needs an exe?

Try removing all the pip and egg installs (or just delete your Python directory and reinstall Python), and install all the Python extension packages that you require from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

You can also make an exe using cython, here's the compile for my Python paper wallet creator, after a few hours of installing and updating MSVC++:

Code:
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"

C:\Python27\python.exe C:\Python27\Scripts\cython.py paperwal.py --embed

cl.exe  /nologo /Ox /W3 /GS- /DNDEBUG -Ic:\Python27\include -Ic:\Python27\PC /Tcpaperwal.c /link /OUT:"paperwal.exe" /SUBSYSTEM:CONSOLE /MACHINE:X86 /LIBPATH:c:\Python27\libs /LIBPATH:c:\Python27\PCbuild

Here's a generic setup.py for py2exe, just change the obvious stuff:
Code:
from distutils.core import setup
import py2exe, sys, os

sys.argv.append('py2exe')

setup(
    options = {'py2exe':
        {'optimize': 2,
         'bundle_files': 1,
         'compressed': True,
         },
    },
    console = ['paperwal.py'],
    zipfile = None,   
    version="1.1.0",
    description="Secure Address Generator",
    author="deepceleron",
)
newbie
Activity: 11
Merit: 0
January 09, 2014, 06:04:11 AM
#1
Hi everyone,

Been around for a couple of days now and mining an alt coin with a gpu miner. Somehow i cant compile my gpu miner into an exe file using pyinstaller for py2exe.. im missing all numpy imports just wondering if anyone had the same issues (oh and yes i ve imported numpy correct in python)..

perhapes other ways of creating an exe file?
Jump to: