git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
62756c1
)
automated windows build process
author
Forrest Voight
<forrest@forre.st>
Wed, 1 Feb 2012 07:03:33 +0000 (23:03 -0800)
committer
Forrest Voight
<forrest@forre.st>
Wed, 1 Feb 2012 07:03:33 +0000 (23:03 -0800)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index
06d7240
..
6eb84d9
100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-17,6
+17,7
@@
def get_version():
open('p2pool/__init__.py', 'wb').write('__version__ = %r\r\n\r\nDEBUG = False\r\n' % get_version())
+sys.argv[1:] = ['py2exe']
setup(name='p2pool',
version='1.0',
description='Peer-to-peer Bitcoin mining pool',
@@
-33,3
+34,6
@@
setup(name='p2pool',
)),
zipfile=None,
)
+
+os.rename('dist', 'p2pool_win32_' + get_version())
+print 'p2pool_win32_' + get_version()
\ No newline at end of file