Permalink
Browse files

possible fix for #227

  • Loading branch information...
1 parent b37fb2a commit dfad3cd69c1d2567e41b05e3f5929d654f2014b1 @forrestv forrestv committed Dec 4, 2014
Showing with 7 additions and 1 deletion.
  1. +7 −1 setup.py
View
@@ -11,6 +11,12 @@
version = __import__('p2pool').__version__
im64 = '64' in platform.architecture()[0]
+extra_includes = []
+import p2pool.networks
+extra_includes.extend('p2pool.networks.' + x for x in p2pool.networks.nets)
+import p2pool.bitcoin.networks
+extra_includes.extend('p2pool.bitcoin.networks.' + x for x in p2pool.bitcoin.networks.nets)
+
if os.path.exists('INITBAK'):
os.remove('INITBAK')
os.rename(os.path.join('p2pool', '__init__.py'), 'INITBAK')
@@ -44,7 +50,7 @@
options=dict(py2exe=dict(
bundle_files=bundle,
dll_excludes=['w9xpopen.exe', "mswsock.dll", "MSWSOCK.dll"],
- includes=['twisted.web.resource', 'ltc_scrypt'],
+ includes=['twisted.web.resource', 'ltc_scrypt'] + extra_includes,
)),
zipfile=None,
)

0 comments on commit dfad3cd

Please sign in to comment.