switch to setuptools
parent
13e08e3ec8
commit
361aa9b93e
21
setup.py
21
setup.py
|
@ -1,13 +1,26 @@
|
|||
from distutils.core import setup
|
||||
import setuptools
|
||||
import os
|
||||
|
||||
setup(
|
||||
def package_files(directory):
|
||||
paths = []
|
||||
for (path, directories, filenames) in os.walk(directory):
|
||||
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'))
|
||||
|
||||
setuptools.setup(
|
||||
name='Orun',
|
||||
version='0.1.0',
|
||||
author='Alexandre L. Dias',
|
||||
author_email='alexandre@katrid.com',
|
||||
packages=['orun', 'orun.examples', 'orun.extjs', 'orun.servers'],
|
||||
packages=setuptools.find_packages(),
|
||||
package_data={'': extra_files},
|
||||
include_package_data=True,
|
||||
url='http://pypi.python.org/pypi/Orun/',
|
||||
license='LICENSE.txt',
|
||||
license='LICENSE',
|
||||
description='Orun (Object RUNtime) Python JavaScript RIA framework.',
|
||||
long_description=open('README').read(),
|
||||
)
|
Loading…
Reference in New Issue