setup.py 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. '''
  2. Setup package information for PyPi distribution.
  3. Note:
  4. Before deploying, you need to build a git tagged version so
  5. PyPi can get the distribution.
  6. git tag -a major.minor -m 'Some Release Note(s)'
  7. git push --tags
  8. '''
  9. # All standard library imports
  10. from distutils.core import setup
  11. # All nesi imports
  12. from nes import settings
  13. NESI_BUILD = settings.build()
  14. setup(
  15. name='nesi',
  16. packages=['nes'],
  17. version='{major}.{minor}'.format(
  18. major=NESI_BUILD['major_version'],
  19. minor=NESI_BUILD['minor_version']
  20. ),
  21. description='A rom hacking tool for the analysis of .nes rom images.',
  22. author=NESI_BUILD['author'],
  23. author_email=NESI_BUILD['author_email'],
  24. url='https://github.com/prophittcorey/nesi',
  25. download_url='https://github.com/prophittcorey/nesi/tarball/'
  26. '{major}.{minor}'.format(
  27. major=NESI_BUILD['major_version'],
  28. minor=NESI_BUILD['minor_version'],
  29. ),
  30. scripts=['nesi'],
  31. keywords=['nes', 'rom', 'roms', 'emulation', 'hacking', 'tools'],
  32. classifiers=[],
  33. )