File: install.py

package info (click to toggle)
python-setuptools 0.0.1.041214-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 232 kB
  • ctags: 264
  • sloc: python: 931; makefile: 37
file content (9 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from distutils.command.install import install as _install

class install(_install):
    """Build dependencies before installation"""

    def has_dependencies(self):
        return self.distribution.has_dependencies()

    sub_commands = [('depends', has_dependencies)] + _install.sub_commands