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.

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