Browse Source

Merged LudoVio setup changes

pull/61/head
chriskiehl 10 years ago
parent
commit
f78a69fb15
7 changed files with 54 additions and 39 deletions
  1. 2
      .gitignore
  2. 11
      MANIFEST.in
  3. 27
      TODO.md
  4. 10
      gooey/__init__.py
  5. 0
      gooey/languages/__init__.py
  6. 33
      setup.py
  7. 10
      test.py

2
.gitignore

@ -10,7 +10,6 @@ dist
build
eggs
parts
bin
var
sdist
develop-eggs
@ -34,6 +33,7 @@ nosetests.xml
.mr.developer.cfg
.project
.pydevproject
*.sublime*
#
.idea

11
MANIFEST.in

@ -1,4 +1,7 @@
include *.txt
include *.md
include gooey\images\*
include gooey\languages\*
include README.md
include LICENSE.txt
include MANIFEST.in
recursive-include gooey/images *
recursive-include gooey/languages *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]

27
TODO.md

@ -0,0 +1,27 @@
TODO
====
- Update parser to catch all argparse import styles
- Investigate Docopt
- better graphics
- Restart Button Change :
* need different strategy for everything added.
- Fix vertical stacking of restart button
- system for supplying custom widgets to the GUI
-- e.g. a FileChooser, rather than just a TextBox
- Remove debug statements current printing from program
- add optional cancel button.
- allow NoConfig to run without argparse (Issue #43)
* display warning when this happens (could be a misfire on Gooey's end)
* add suppress warnings flag
- Implemente a simple MVC pattern for isolate gui toolkit specifique code and
argparse specifique code (support for tkinter, qt etc ... and docopt or unix
cli as text)
- Make a .io site for the presentation
- More comments and basic api generation + some txt for explain the global
design fo the project

10
gooey/__init__.py

@ -1,2 +1,8 @@
from gooey.python_bindings.gooey_decorator import Gooey
from gooey.python_bindings.gooey_parser import GooeyParser
try:
from gooey_decorator import Gooey
from gooey.python_bindings.gooey_parser import GooeyParser
except ImportError:
pass
__version__ = '0.1.0'

0
gooey/languages/__init__.py

33
setup.py

@ -1,35 +1,25 @@
import os
"""Script for setuptools."""
from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
local_path = os.path.join(os.path.dirname(__file__), 'gooey')
imagepath = os.path.join(local_path, 'images')
langpath = os.path.join(local_path, 'languages')
images = [os.path.join(imagepath, image) for image in os.listdir(imagepath)]
long_description = readme.read()
languages = [os.path.join(langpath, lang)
for lang in os.listdir(langpath)
if '.py' not in lang]
version = __import__('gooey').__version__
setup(
name='Gooey',
version='0.1.0',
version=version,
url='http://pypi.python.org/pypi/Gooey/',
author='Chris Kiehl',
author_email='audionautic@gmail.com',
package_data={
'': ['*.txt', '*.png', '*.jpg', '*.json', '*.ico', '*.gif']
},
description=('Turn (almost) any command line program into a full GUI '
'application with one line'),
license='MIT',
packages=find_packages(),
url='http://pypi.python.org/pypi/Gooey/',
dependency_links = [
"http://www.wxpython.org/download.php"
],
license='LICENSE.txt',
include_package_data=True,
dependency_links = ["http://www.wxpython.org/download.php"],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
@ -37,6 +27,5 @@ setup(
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'
],
description='Turn (almost) any command line program into a full GUI application with one line',
long_description=long_description
)

10
test.py

@ -1,10 +0,0 @@
'''
Created on Feb 9, 2014
@author: Chris
'''
from gooey import Gooey
if __name__ == '__main__':
pass
Loading…
Cancel
Save