setup.py 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #!/usr/bin/env python3
  2. #
  3. # mmgen = Multi-Mode GENerator, command-line Bitcoin cold storage solution
  4. # Copyright (C)2013-2016 Philemon <mmgen-py@yandex.com>
  5. #
  6. # This program is free software: you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation, either version 3 of the License, or
  9. # (at your option) any later version.
  10. #
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. import os
  19. from distutils.core import setup
  20. from mmgen.globalvars import g
  21. os.umask(0o0022)
  22. setup(
  23. name = 'mmgen-node-tools',
  24. description = 'Optional tools for the MMGen wallet system',
  25. version = g.version,
  26. author = g.author,
  27. author_email = g.email,
  28. url = g.proj_url,
  29. license = 'GNU GPL v3',
  30. platforms = ('Linux, Armbian, Raspbian, MS Windows'),
  31. keywords = g.keywords,
  32. packages = ['mmgen.node_tools'],
  33. scripts = [
  34. 'mmnode-blocks-info',
  35. 'mmnode-feeview',
  36. 'mmnode-halving-calculator',
  37. 'mmnode-netrate',
  38. 'mmnode-peerblocks',
  39. ],
  40. # data_files = [('share/mmgen/node_tools/audio', [
  41. # 'data_files/audio/ringtone.wav', # source files must have 0644 mode
  42. # 'data_files/audio/Positive.wav',
  43. # 'data_files/audio/Rhodes.wav',
  44. # 'data_files/audio/Counterpoint.wav'
  45. # ])
  46. # ],
  47. )