mirror of https://github.com/chriskiehl/Gooey.git
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.
61 lines
1.8 KiB
61 lines
1.8 KiB
"""Script for setuptools."""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
with open('README.md') as readme:
|
|
long_description = readme.read()
|
|
|
|
version = __import__('gooey').__version__
|
|
|
|
setup(
|
|
name='Gooey',
|
|
version=version,
|
|
url='http://pypi.python.org/pypi/Gooey/',
|
|
author='Chris Kiehl',
|
|
author_email='audionautic@gmail.com',
|
|
description=('Turn (almost) any command line program into a full GUI '
|
|
'application with one line'),
|
|
license='MIT',
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
dependency_links = ["http://www.wxpython.org/download.php"],
|
|
classifiers = [
|
|
'Development Status :: 4 - Beta',
|
|
'Intended Audience :: Developers',
|
|
'Topic :: Desktop Environment',
|
|
'Topic :: Software Development :: Build Tools',
|
|
'Topic :: Software Development :: Widget Sets',
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7'
|
|
],
|
|
long_description='''
|
|
|
|
Gooey (Beta)
|
|
############
|
|
|
|
|
|
Turn (almost) any Python Console Program into a GUI application with one line
|
|
-----------------------------------------------------------------------------
|
|
|
|
.. image:: https://cloud.githubusercontent.com/assets/1408720/7904381/f54f97f6-07c5-11e5-9bcb-c3c102920769.png
|
|
|
|
|
|
Quick Start
|
|
-----------
|
|
|
|
Gooey is attached to your code via a simple decorator on your `main` method.
|
|
|
|
.. code-block::
|
|
|
|
from gooey import Gooey
|
|
@Gooey <--- all it takes! :)
|
|
def main():
|
|
# rest of code
|
|
|
|
|
|
|
|
With the decorator attached, run your program and the GUI will now appear!
|
|
|
|
Note: PyPi's formatting is ancient, so checkout the full documentation, instructions, and source on `Github <https://github.com/chriskiehl/Gooey>`_'''
|
|
)
|