Commit 0c3dd3ab authored by Brian Lloyd's avatar Brian Lloyd

fixed install voodoo

parent 6572ef51
...@@ -1212,6 +1212,7 @@ class MyDistribution(Distribution): ...@@ -1212,6 +1212,7 @@ class MyDistribution(Distribution):
# Distribution.__init__(). # Distribution.__init__().
def __init__(self, *attrs): def __init__(self, *attrs):
Distribution.__init__(self, *attrs) Distribution.__init__(self, *attrs)
self.cmdclass['install'] = ZopeInstall
self.cmdclass['build'] = MyBuilder self.cmdclass['build'] = MyBuilder
self.cmdclass['build_ext'] = MyExtBuilder self.cmdclass['build_ext'] = MyExtBuilder
self.cmdclass['install_lib'] = MyLibInstaller self.cmdclass['install_lib'] = MyLibInstaller
...@@ -1258,38 +1259,33 @@ ext_modules = [ ...@@ -1258,38 +1259,33 @@ ext_modules = [
# We're using the module docstring as the distutils descriptions. # We're using the module docstring as the distutils descriptions.
doclines = __doc__.split("\n") doclines = __doc__.split("\n")
setup(name="zope", setup(name="zopex30",
version="X3.0", version="X3.0",
maintainer="Zope Corporation", maintainer="Zope Corporation",
maintainer_email="zope3-dev@zope.org", maintainer_email="zope3-dev@zope.org",
url = "http://dev.zope.org/Zope3/", url = "http://dev.zope.org/Zope3/",
ext_modules = ext_modules, ext_modules = ext_modules,
# This doesn't work right at all
headers = ["persistent/cPersistence.h",
"zope/proxy/proxy.h"],
scripts = [],
license = "http://www.zope.org/Resources/ZPL", license = "http://www.zope.org/Resources/ZPL",
platforms = ["any"], platforms = ["any"],
description = doclines[0], description = doclines[0],
long_description = "\n".join(doclines[2:]), long_description = "\n".join(doclines[2:]),
packages = packages, packages = packages,
#package_dir = {'': 'src'},
distclass = MyDistribution, distclass = MyDistribution,
) )
setup( #setup(
name='Five', # name='Five',
author='Martijn Faassen', # author='Martijn Faassen',
#
packages=['Products.Five'], # packages=['Products.Five'],
data_files=[['Products/Five', ['Products/Five/*']], # data_files=[['Products/Five', ['Products/Five/*']],
['Products/Five/demo', ['Products/Five/demo/*']], # ['Products/Five/demo', ['Products/Five/demo/*']],
['Products/Five/doc', ['Products/Five/doc/*']], # ['Products/Five/doc', ['Products/Five/doc/*']],
['Products/Five/skel', ['Products/Five/skel/*']], # ['Products/Five/skel', ['Products/Five/skel/*']],
['Products/Five/tests', ['Products/Five/tests/*']], # ['Products/Five/tests', ['Products/Five/tests/*']],
], # ],
) # )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment