setup.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. setup(name='pynsist',
  13. version='0.1',
  14. description='Build Windows installers for Python apps',
  15. long_description=readme,
  16. author='Thomas Kluyver',
  17. author_email='thomas@kluyver.me.uk',
  18. url='https://github.com/takluyver/pynsist',
  19. packages=['nsist'],
  20. package_data={'nsist': ['template.nsi',
  21. 'python-pubkeys.txt',
  22. 'glossyorb.ico',
  23. ]
  24. },
  25. scripts=['scripts/pynsist'],
  26. classifiers=[
  27. 'Intended Audience :: Developers',
  28. 'License :: OSI Approved :: MIT License',
  29. 'Environment :: Win32 (MS Windows)',
  30. 'Programming Language :: Python :: 3',
  31. 'Programming Language :: Python :: 2.7',
  32. 'Topic :: Software Development',
  33. 'Topic :: System :: Installation/Setup',
  34. 'Topic :: System :: Software Distribution',
  35. ],
  36. install_requires=requirements
  37. )