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.

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