configurationengine/source/setup.py
author m2lahtel
Tue, 10 Aug 2010 14:29:28 +0300
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
permissions -rw-r--r--
ConE 1.2.11 release
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     1
#
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     3
# All rights reserved.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     4
# This component and the accompanying materials are made available
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     5
# under the terms of "Eclipse Public License v1.0"
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     6
# which accompanies this distribution, and is available
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     8
#
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     9
# Initial Contributors:
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    11
#
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    12
# Contributors:
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    13
#
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    14
# Description: 
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    15
#
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    16
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    17
import os, os.path
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    18
from pkg_resources import require
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    19
require("setuptools")
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    20
from setuptools import setup, find_packages
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    21
from cone import __version__
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    22
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    23
setup(
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    24
    name = "cone",
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    25
    version = __version__,
3
e7e0ae78773e ConE 1.2.11 release
m2lahtel
parents: 0
diff changeset
    26
    packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests", "scripts"]),
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    27
    package_data = {'cone.validation': ['confml_xsd/*.xsd', 'implml_xsd/*.xsd']},
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    28
    install_requires = ['Jinja2>=2.1.1', 'simplejson>=2.0.9', 'lxml>=2.2.2'], #FIX THIS: not to try load cone from web
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    29
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    30
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    31
    # Project uses reStructuredText, so ensure that the docutils get
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    32
    # installed or upgraded on the target machine
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    33
    #install_requires = ['zipfile'],
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    34
    test_suite = "cone.tests.runtests.collect_suite",
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    35
    # metadata for upload to PyPI
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    36
    author = "Teemu Rytkonen",
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    37
    author_email = "teemu.rytkonen@nokia.com",
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    38
    description = "Configuration Engine",
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    39
    license = "Eclipse Public License v1.0",
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    40
    keywords = "cone",
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    41
    url = "http://developer.symbian.org/wiki/index.php/Software_Configuration_Middleware", 
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    42
    zip_safe = True
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    43
)