setup.py 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import sys
  2. from distutils.core import setup
  3. PY2 = sys.version_info[0] == 2
  4. if PY2:
  5. requirements = [
  6. 'configparser >= 3.3.0r2'
  7. ]
  8. else:
  9. requirements = []
  10. with open('README.rst', 'r') as f:
  11. readme=f.read()
  12. from nsist import __version__
  13. setup(name='pynsist',
  14. version=__version__,
  15. description='Build Windows installers for Python apps',
  16. long_description=readme,
  17. author='Thomas Kluyver',
  18. author_email='thomas@kluyver.me.uk',
  19. url='https://github.com/takluyver/pynsist',
  20. packages=['nsist'],
  21. package_data={'nsist': ['template.nsi',
  22. 'python-pubkeys.txt',
  23. 'glossyorb.ico',
  24. ]
  25. },
  26. scripts=['scripts/pynsist'],
  27. classifiers=[
  28. 'Intended Audience :: Developers',
  29. 'License :: OSI Approved :: MIT License',
  30. 'Environment :: Win32 (MS Windows)',
  31. 'Programming Language :: Python :: 3',
  32. 'Programming Language :: Python :: 2.7',
  33. 'Topic :: Software Development',
  34. 'Topic :: System :: Installation/Setup',
  35. 'Topic :: System :: Software Distribution',
  36. ],
  37. install_requires=requirements
  38. )