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.

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