~ubuntu-branches/ubuntu/precise/distribute/precise

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-12-28 23:52:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20091228235240-mw9ruki1uprxfmo2
Tags: 0.6.10-1
* New upstream version.
* Stop building for python2.4. Closes: #557000.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
        fl.process_template_line(line)
15
15
    dir_util.create_tree(tmp_src, fl.files)
16
16
    outfiles_2to3 = []
 
17
    dist_script = os.path.join("build", "src", "distribute_setup.py")
17
18
    for f in fl.files:
18
19
        outf, copied = file_util.copy_file(f, os.path.join(tmp_src, f), update=1)
19
 
        if copied and outf.endswith(".py"):
 
20
        if copied and outf.endswith(".py") and outf != dist_script:
20
21
            outfiles_2to3.append(outf)
21
22
        if copied and outf.endswith('api_tests.txt'):
22
23
            # XXX support this in distutils as well
36
37
exec(open(init_path).read(), d)
37
38
 
38
39
SETUP_COMMANDS = d['__all__']
39
 
VERSION = "0.6.8"
 
40
VERSION = "0.6.10"
40
41
 
41
42
from setuptools import setup, find_packages
42
43
from setuptools.command.build_py import build_py as _build_py
135
136
            "package_data           = setuptools.dist:check_package_data",
136
137
            "exclude_package_data   = setuptools.dist:check_package_data",
137
138
            "include_package_data   = setuptools.dist:assert_bool",
 
139
            "packages               = setuptools.dist:check_packages",
138
140
            "dependency_links       = setuptools.dist:assert_string_list",
139
141
            "test_loader            = setuptools.dist:check_importable",
140
142
            "use_2to3               = setuptools.dist:assert_bool",