mirror of https://github.com/chriskiehl/Gooey.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
import os
|
|
from distutils.core import setup
|
|
|
|
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)]
|
|
|
|
languages = [os.path.join(langpath, lang)
|
|
for lang in os.listdir(langpath)
|
|
if '.py' not in lang]
|
|
|
|
print(images)
|
|
print(languages)
|
|
|
|
setup(
|
|
name='Gooey',
|
|
version='0.1.0',
|
|
author='Chris Kiehl',
|
|
author_email='ckiehl@gmail.com',
|
|
data_files=[
|
|
('', images),
|
|
('', languages)
|
|
],
|
|
packages=[
|
|
'gooey',
|
|
'gooey.gui',
|
|
'gooey.images',
|
|
'gooey.languages',
|
|
'gooey.mockapplications',
|
|
],
|
|
|
|
url='http://pypi.python.org/pypi/Gooey/',
|
|
license='LICENSE.txt',
|
|
description='Turn (almost) any command line program into a full GUI application with one line',
|
|
long_description=long_description
|
|
)
|