forked from chriskiehl/Gooey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (51 loc) · 1.91 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
"""Script for setuptools."""
import sys
from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
version = '1.0.2'
deps = [
'Pillow>=4.3.0',
'psutil>=5.4.2'
]
if sys.version[0] == '3':
deps.append('wxpython>=4.0.0b1')
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(),
install_requires=deps,
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>`_'''
)