diff --git a/gooey/__init__.py b/gooey/__init__.py index 3b8a58b..eb02fbd 100644 --- a/gooey/__init__.py +++ b/gooey/__init__.py @@ -1,8 +1,8 @@ +import os from gooey.python_bindings.gooey_decorator import Gooey from gooey.python_bindings.gooey_parser import GooeyParser -with open('version', 'r') as f: - version_num = f.read() +version_file = os.path.join(os.path.dirname(__file__), 'version') -__version__ = version_num +__version__ = '0.1.6' diff --git a/pip_deploy.py b/pip_deploy.py new file mode 100644 index 0000000..87c3f13 --- /dev/null +++ b/pip_deploy.py @@ -0,0 +1,4 @@ +import subprocess + +subprocess.call('python setup.py sdist') +subprocess.call('python setup.py sdist bdist_wheel upload') diff --git a/setup.py b/setup.py index 139e4c6..852dee0 100644 --- a/setup.py +++ b/setup.py @@ -29,5 +29,32 @@ setup( 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7' ], - long_description=long_description + long_description=''' +
+ +
+ + +Gooey is attached to your code via a simple decorator on your `main` method.
+ ++ 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! + +