diff options
| author | ianb <devnull@localhost> | 2005-05-02 04:26:59 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-05-02 04:26:59 +0000 |
| commit | 65e95da78f4f3360bb022fdc5c0cbecba2495d3d (patch) | |
| tree | 4f1cce59485880e5c6a29c62a597629fea2c035a /setup.py | |
| parent | 760d39273ea2158b763504bb8660c3a6a6582a7e (diff) | |
| download | paste-65e95da78f4f3360bb022fdc5c0cbecba2495d3d.tar.gz | |
Removed spaces from name (#6)
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 52 |
1 files changed, 26 insertions, 26 deletions
@@ -1,7 +1,7 @@ -from distutils.core import setup
+from distutils.core import setup from distutils import sysconfig import warnings -warnings.filterwarnings("ignore", "Unknown distribution option")
+warnings.filterwarnings("ignore", "Unknown distribution option") import sys # patch distutils if it can't cope with the "classifiers" keyword @@ -9,27 +9,27 @@ if sys.version < '2.2.3': from distutils.dist import DistributionMetadata DistributionMetadata.classifiers = None DistributionMetadata.download_url = None -
-import os
-
-BASEDIR = os.path.split(os.path.abspath(__file__))[0]
-
-def get_data_files(path, files = []):
- l = []
- for name in os.listdir(path):
- if name[0] == ".":
- continue
- relpath = os.path.join(path, name)
- f = os.path.join(BASEDIR, relpath)
- if os.path.isdir(f):
- get_data_files(relpath, files)
- elif os.path.isfile(f):
- l.append(f)
- pref = sysconfig.get_python_lib()[len(sysconfig.PREFIX) + 1:]
- files.append((os.path.join(pref, path), l))
- return files
-setup(name="Python Paste", +import os + +BASEDIR = os.path.split(os.path.abspath(__file__))[0] + +def get_data_files(path, files = []): + l = [] + for name in os.listdir(path): + if name[0] == ".": + continue + relpath = os.path.join(path, name) + f = os.path.join(BASEDIR, relpath) + if os.path.isdir(f): + get_data_files(relpath, files) + elif os.path.isfile(f): + l.append(f) + pref = sysconfig.get_python_lib()[len(sysconfig.PREFIX) + 1:] + files.append((os.path.join(pref, path), l)) + return files + +setup(name="Paste", version="0.1", description="Tools for use with a Web Server Gateway Interface stack", long_description="""\ @@ -58,16 +58,16 @@ functionality. url="http://webwareforpython.org", license="PSF", packages=["paste", "paste.exceptions", - "paste.util",
+ "paste.util", "paste.webkit", "paste.webkit.FakeWebware", "paste.webkit.FakeWebware.WebKit", "paste.webkit.FakeWebware.WebUtils", "paste.webkit.FakeWebware.MiscUtils"], scripts=['scripts/paste-server', 'scripts/paste-setup'], - download_url="",
- data_files=get_data_files(os.path.join("paste","app_templates")) +
- [(os.path.join(sysconfig.get_python_lib()[len(sysconfig.PREFIX) + 1:], "paste"), [os.path.join("paste", "default_config.conf")])]
+ download_url="", + data_files=get_data_files(os.path.join("paste","app_templates")) + + [(os.path.join(sysconfig.get_python_lib()[len(sysconfig.PREFIX) + 1:], "paste"), [os.path.join("paste", "default_config.conf")])] ) # Send announce to: |
