buildframework/helium/sf/python/pythoncore/setup.py
changeset 587 85df38eb4012
child 628 7c4a911dc066
equal deleted inserted replaced
217:0f5e3a7fb6af 587:85df38eb4012
       
     1 #============================================================================ 
       
     2 #Name        : .py 
       
     3 #Part of     : Helium 
       
     4 
       
     5 #Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     6 #All rights reserved.
       
     7 #This component and the accompanying materials are made available
       
     8 #under the terms of the License "Eclipse Public License v1.0"
       
     9 #which accompanies this distribution, and is available
       
    10 #at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    11 #
       
    12 #Initial Contributors:
       
    13 #Nokia Corporation - initial contribution.
       
    14 #
       
    15 #Contributors:
       
    16 #
       
    17 #Description:
       
    18 #===============================================================================
       
    19 import os
       
    20 from setuptools import setup, find_packages
       
    21 pyfiles = []
       
    22 for x in os.listdir('lib'):
       
    23     if x.endswith('.py'):
       
    24         pyfiles.append(x.replace('.py', ''))
       
    25 setup(
       
    26     name = 'pythoncore',
       
    27     version = '0.1',
       
    28     description = "pythoncore",
       
    29     license = 'EPL',
       
    30     package_dir = {'': 'lib'},
       
    31     py_modules = pyfiles,
       
    32     packages = find_packages('lib', exclude=["*tests"]),
       
    33     test_suite = 'nose.collector',
       
    34     package_data = {'': ['*.xml', '**/*.xml', '*.pl']},
       
    35     )