changes needed to get current code to run

This commit is contained in:
Justin Ramos 2017-02-25 04:43:09 +00:00
parent 317d4d57cc
commit b50198afb5
No known key found for this signature in database
GPG Key ID: 4A33DDE9CB944DC3
4 changed files with 10 additions and 9 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ src/.settings/
src/**/.dll src/**/.dll
src/**/*.o src/**/*.o
src/**/*.so src/**/*.so
build/lib.*
build/temp.*

View File

@ -104,8 +104,6 @@ if __name__ == "__main__":
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f: with open(os.path.join(here, 'README.md')) as f:
README = f.read() README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
bitmsghash = Extension('bitmsghash.bitmsghash', bitmsghash = Extension('bitmsghash.bitmsghash',
sources = ['src/bitmsghash/bitmsghash.cpp'], sources = ['src/bitmsghash/bitmsghash.cpp'],
@ -152,10 +150,11 @@ if __name__ == "__main__":
bitmessage = bitmessagemain:Main.start bitmessage = bitmessagemain:Main.start
""", """,
) )
with open(os.path.join(dist.command_obj['install_scripts'].install_dir, 'bitmessage'), 'wt') as f: if (dist.command_obj.get('install_scripts')):
f.write("#!/bin/sh\n") with open(os.path.join(dist.command_obj['install_scripts'].install_dir, 'bitmessage'), 'wt') as f:
f.write(dist.command_obj['build'].executable + " " + \ f.write("#!/bin/sh\n")
os.path.join(dist.command_obj['install'].install_lib, f.write(dist.command_obj['build'].executable + " " + \
os.path.basename(dist.command_obj['bdist_egg'].egg_output), os.path.join(dist.command_obj['install'].install_lib,
'bitmessagemain.py') + "\n") os.path.basename(dist.command_obj['bdist_egg'].egg_output),
os.chmod(os.path.join(dist.command_obj['install_scripts'].install_dir, 'bitmessage'), 0555) 'bitmessagemain.py') + "\n")
os.chmod(os.path.join(dist.command_obj['install_scripts'].install_dir, 'bitmessage'), 0555)

0
src/__init__.py Normal file
View File

0
src/network/__init__.py Normal file
View File