You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.9 KiB

  1. """Script for setuptools."""
  2. import sys
  3. from setuptools import setup, find_packages
  4. with open('README.md') as readme:
  5. long_description = readme.read()
  6. version = '1.0.2'
  7. deps = [
  8. 'Pillow>=4.3.0',
  9. 'psutil>=5.4.2'
  10. ]
  11. if sys.version[0] == '3':
  12. deps.append('wxpython>=4.0.0b1')
  13. setup(
  14. name='Gooey',
  15. version=version,
  16. url='http://pypi.python.org/pypi/Gooey/',
  17. author='Chris Kiehl',
  18. author_email='audionautic@gmail.com',
  19. description=('Turn (almost) any command line program into a full GUI '
  20. 'application with one line'),
  21. license='MIT',
  22. packages=find_packages(),
  23. install_requires=deps,
  24. include_package_data=True,
  25. dependency_links = ["http://www.wxpython.org/download.php"],
  26. classifiers = [
  27. 'Development Status :: 4 - Beta',
  28. 'Intended Audience :: Developers',
  29. 'Topic :: Desktop Environment',
  30. 'Topic :: Software Development :: Build Tools',
  31. 'Topic :: Software Development :: Widget Sets',
  32. 'Programming Language :: Python :: 2.6',
  33. 'Programming Language :: Python :: 2.7'
  34. ],
  35. long_description='''
  36. Gooey (Beta)
  37. ############
  38. Turn (almost) any Python Console Program into a GUI application with one line
  39. -----------------------------------------------------------------------------
  40. .. image:: https://cloud.githubusercontent.com/assets/1408720/7904381/f54f97f6-07c5-11e5-9bcb-c3c102920769.png
  41. Quick Start
  42. -----------
  43. Gooey is attached to your code via a simple decorator on your `main` method.
  44. .. code-block::
  45. from gooey import Gooey
  46. @Gooey <--- all it takes! :)
  47. def main():
  48. # rest of code
  49. With the decorator attached, run your program and the GUI will now appear!
  50. Note: PyPi's formatting is ancient, so checkout the full documentation, instructions, and source on `Github <https://github.com/chriskiehl/Gooey>`_'''
  51. )