cherryext/setup.py

29 lines
880 B
Python
Raw Normal View History

2018-08-08 13:34:18 +03:00
import setuptools
import os
2013-04-30 09:49:34 +04:00
2018-08-08 13:34:18 +03:00
def package_files(directory):
paths = []
2018-08-09 09:04:49 +03:00
for (path, _, filenames) in os.walk(directory):
2018-08-08 13:34:18 +03:00
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
2018-08-17 22:28:39 +03:00
2018-08-08 13:34:18 +03:00
extra_files = package_files('examples')
2018-08-17 22:13:39 +03:00
extra_files.extend(package_files(os.path.join('extjs', 'static')))
extra_files.append(os.path.join('extjs', 'app.html'))
2018-08-17 22:28:39 +03:00
2018-08-08 13:34:18 +03:00
setuptools.setup(
2013-04-30 09:49:34 +04:00
name='Orun',
2018-08-17 12:19:56 +03:00
version='0.4.0',
2018-08-09 09:04:49 +03:00
author='Alexandre L. Dias, Roman Borodin (inpos@yandex.ru)',
2013-04-30 09:49:34 +04:00
author_email='alexandre@katrid.com',
2018-08-08 13:34:18 +03:00
packages=setuptools.find_packages(),
package_data={'': extra_files},
include_package_data=True,
2018-08-17 22:49:34 +03:00
zip_safe=False,
2013-04-30 09:49:34 +04:00
url='http://pypi.python.org/pypi/Orun/',
2018-08-08 13:34:18 +03:00
license='LICENSE',
2013-04-30 09:49:34 +04:00
description='Orun (Object RUNtime) Python JavaScript RIA framework.',
2018-08-08 11:07:52 +03:00
long_description=open('README').read(),
2013-04-30 09:49:34 +04:00
)