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.

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