|
|
"""Distutils setup file""" |
"""Distutils setup file""" |
|
|
from distutils.core import setup, Command |
from distutils.core import setup, Command, Extension |
from distutils.command.install_data import install_data |
from distutils.command.install_data import install_data |
from distutils.command.sdist import sdist as old_sdist |
from distutils.command.sdist import sdist as old_sdist |
import sys |
import sys |
if self.happy_options is None: |
if self.happy_options is None: |
self.happy_options = [ |
self.happy_options = [ |
'-t', 'PEAK Reference', '-d', self.doc_output_path, |
'-t', 'PEAK Reference', '-d', self.doc_output_path, |
'-i', 'examples', '-i', 'old', '-i', 'tests', '.', |
'-i', 'examples', '-i', 'old', '-i', 'tests', |
|
'-i', 'Interface', '.' |
] |
] |
if not self.verbose: self.happy_options.insert(0,'-q') |
if not self.verbose: self.happy_options.insert(0,'-q') |
|
|
if not self.dry_run: |
if not self.dry_run: |
HappyDoc(self.happy_options).run() |
HappyDoc(self.happy_options).run() |
|
|
|
|
setup( |
setup( |
|
|
name="PEAK", |
name="PEAK", |
version="0.2pre1", |
version="0.5a1", |
description="The Python Enterprise Applications tool Kit", |
description="The Python Enterprise Application Kit", |
|
|
author="Phillip J. Eby", |
author="Phillip J. Eby", |
author_email="transwarp@eby-sarna.com", |
author_email="transwarp@eby-sarna.com", |
|
|
url="http://telecommunity.com/TransWarp/", |
url="http://www.telecommunity.com/PEAK/", |
|
|
packages=[ |
packages=[ |
'peak', 'peak.api', 'peak.binding', 'peak.model', 'peak.metamodels', |
'peak', 'peak.api', 'peak.binding', 'peak.model', 'peak.metamodels', |
'peak.metamodels.mof', 'peak.metamodels.uml', 'peak.metamodels.xmi', |
'peak.metamodels.mof', 'peak.metamodels.uml', 'peak.metamodels.xmi', |
'peak.util', |
'peak.naming', 'peak.naming.factories', 'peak.util', 'peak.running', |
|
'peak.config', 'peak.storage', |
|
|
'peak.api.tests', 'peak.binding.tests', |
'peak.binding.tests', 'peak.config.tests', |
'peak.metamodels.tests', 'peak.util.tests', 'peak.tests', |
'peak.metamodels.tests', 'peak.util.tests', 'peak.tests', |
|
|
|
'Interface', 'Interface.Common', 'Interface.tests', |
], |
], |
|
|
package_dir = {'':'src'}, |
package_dir = {'':'src'}, |
|
|
|
ext_modules = [Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"])], |
|
|
cmdclass = { |
cmdclass = { |
'install_data': install_data, 'sdist': sdist, 'happy': happy, |
'install_data': install_data, 'sdist': sdist, 'happy': happy, |
'test': test, |
'test': test, 'sdist_nodoc': old_sdist, |
}, |
}, |
|
|
data_files = [ |
data_files = [ |