Browse Source

clean the project directory

pull/52/head
Ludovic Viaud 10 years ago
parent
commit
a3a5485e96
6 changed files with 25 additions and 38 deletions
  1. 2
      .gitignore
  2. 11
      MANIFEST.in
  3. 7
      gooey/__init__.py
  4. 0
      gooey/languages/__init__.py
  5. 33
      setup.py
  6. 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]

7
gooey/__init__.py

@ -1 +1,6 @@
from gooey_decorator import Gooey
try:
from gooey_decorator import Gooey
except:
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