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

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