Here is the setup.py that is finally working for me, at least on Windows,
including being able to create a windows installer version as well. Thanks
Robin and Andy.
#!/usr/bin/env python
"""Setup file for the distribution of PyCrust. PyCrust is a pure
Python distribution. Thanks to Andy Todd, who created the original
setup.py for PyCrust."""
__author__ = "Patrick K. O'Brien "
__cvsid__ = "$Id: setup.py,v 1.1 2001/09/12 16:16:32 pobrien Exp $"
__date__ = "September 11, 2001"
__version__ = "$Revision: 1.1 $"[11:-2]
from distutils.core import setup
import version
import glob
setup(name="PyCrust",
version=str(version.VERSION),
description="PyCrust - The Flakiest Python Shell",
author="Patrick K. O'Brien",
author_email="pobrien@orbtech.com",
url="http://sourceforge.net/projects/pycrust/",
packages=["PyCrust"],
package_dir={"PyCrust": "."},
long_description="""
PyCrust is an interactive Python environment written in Python.
PyCrust components can run standalone or be integrated into other
development environments and/or other Python applications.
PyCrust comes with an interactive Python shell (PyShell), an
interactive namespace/object tree control (PyFilling) and an
integrated, split-window combination of the two (PyCrust).
""",
data_files=[("PyCrust", ["PyCrust.ico",]),
("PyCrust/Data", glob.glob("Data/*.py")),
("PyCrust/Demos", glob.glob("Demos/*.py")),
("PyCrust/Docs", glob.glob("Docs/*.txt")),
],
)
---
Patrick K. O'Brien
Orbtech (http://www.orbtech.com)
"I am, therefore I think."
-----Original Message-----
From: Andy Todd [mailto:andy47@crosswinds.net]
Sent: Wednesday, September 12, 2001 5:46 PM
To: pobrien@orbtech.com
Subject: Re: [Distutils] Help - Does wininst ignore MANIFEST?
I've got to agree with you there Patrick. The distutils setup for
PythonCard is driving me nuts at the moment.