Changeset 1250 in tailor


Ignore:
Timestamp:
08/16/06 21:35:34 (7 years ago)
Author:
lele@…
Hash name:
20060816193534-97f81-e76226912dbff922a9ffddca98de4a4e1bcebc31
Message:

Expand subpackages dinamically
Too bad lazy developers do run their software in place... :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r1192 r1250  
    11#!/usr/bin/env python 
    22 
     3from os import walk 
    34from distutils.core import setup 
    45from vcpx.tailor import __version__ as VERSION 
     
    89      author='Lele Gaifax', 
    910      author_email='lele@nautilus.homeip.net', 
    10       packages=['vcpx', 'vcpx.repository'], 
     11      packages=[dirpath for dirpath, dirnames, filenames in walk('vcpx') 
     12                if dirpath <> 'vcpx/tests' and '__init__.py' in filenames], 
    1113      scripts=['tailor'], 
    1214      description='A tool to migrate changesets between various kinds of ' 
Note: See TracChangeset for help on using the changeset viewer.