setup.py 1.2 KB

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