cherryext/setup.py

29 lines
886 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
extra_files = package_files('examples')
extra_files.extend(package_files('extjs/static'))
2018-08-17 21:49:57 +03:00
print (repr(extra_files))
2018-08-17 21:00:47 +03:00
extra_files.append('extjs/app.html')
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},
2018-08-17 21:41:54 +03:00
data_files=[('',extra_files)],
2018-08-08 13:34:18 +03:00
include_package_data=True,
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
)