Browse Source

Added deploy tools

pull/72/head
chriskiehl 9 years ago
parent
commit
1e660d1908
3 changed files with 35 additions and 4 deletions
  1. 6
      gooey/__init__.py
  2. 4
      pip_deploy.py
  3. 29
      setup.py

6
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'

4
pip_deploy.py

@ -0,0 +1,4 @@
import subprocess
subprocess.call('python setup.py sdist')
subprocess.call('python setup.py sdist bdist_wheel upload')

29
setup.py

@ -29,5 +29,32 @@ setup(
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'
],
long_description=long_description
long_description='''
<h1>Gooey (Beta)</h1>
<h3>Turn (almost) any Python Console Program into a GUI application with one line</h3>
<p align="center">
<img src="https://raw.githubusercontent.com/chriskiehl/Gooey/master/resources/primary.png"/>
</p>
<h2>Quick Start</h2>
<p>Gooey is attached to your code via a simple decorator on your `main` method.</p>
<pre>
from gooey import Gooey
@Gooey <--- all it takes! :)
def main():
# rest of code
</pre>
With the decorator attached, run your program and the GUI will now appear!
<b>Note: PyPi's formatting is ancient, so checkout the full documentation, instructions, and source on <a href="https://github.com/chriskiehl/Gooey">github!</a></b>
<br /><br /><br /><br />'''
)
Loading…
Cancel
Save