Statistics
| Branch: | Tag: | Revision:

root / snf-common / setup.py @ faad3c72

History | View | Annotate | Download (2.8 kB)

1 3eea2bc3 Constantinos Venetsanopoulos
# Copyright 2011, 2012, 2013 GRNET S.A. All rights reserved.
2 efcd7a43 Kostas Papadimitriou
#
3 efcd7a43 Kostas Papadimitriou
# Redistribution and use in source and binary forms, with or
4 efcd7a43 Kostas Papadimitriou
# without modification, are permitted provided that the following
5 efcd7a43 Kostas Papadimitriou
# conditions are met:
6 efcd7a43 Kostas Papadimitriou
#
7 efcd7a43 Kostas Papadimitriou
#   1. Redistributions of source code must retain the above
8 efcd7a43 Kostas Papadimitriou
#      copyright notice, this list of conditions and the following
9 efcd7a43 Kostas Papadimitriou
#      disclaimer.
10 efcd7a43 Kostas Papadimitriou
#
11 efcd7a43 Kostas Papadimitriou
#   2. Redistributions in binary form must reproduce the above
12 efcd7a43 Kostas Papadimitriou
#      copyright notice, this list of conditions and the following
13 efcd7a43 Kostas Papadimitriou
#      disclaimer in the documentation and/or other materials
14 efcd7a43 Kostas Papadimitriou
#      provided with the distribution.
15 efcd7a43 Kostas Papadimitriou
#
16 efcd7a43 Kostas Papadimitriou
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
17 efcd7a43 Kostas Papadimitriou
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 efcd7a43 Kostas Papadimitriou
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 efcd7a43 Kostas Papadimitriou
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
20 efcd7a43 Kostas Papadimitriou
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 efcd7a43 Kostas Papadimitriou
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 efcd7a43 Kostas Papadimitriou
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 efcd7a43 Kostas Papadimitriou
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 efcd7a43 Kostas Papadimitriou
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 efcd7a43 Kostas Papadimitriou
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26 efcd7a43 Kostas Papadimitriou
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 efcd7a43 Kostas Papadimitriou
# POSSIBILITY OF SUCH DAMAGE.
28 efcd7a43 Kostas Papadimitriou
#
29 efcd7a43 Kostas Papadimitriou
# The views and conclusions contained in the software and
30 efcd7a43 Kostas Papadimitriou
# documentation are those of the authors and should not be
31 efcd7a43 Kostas Papadimitriou
# interpreted as representing official policies, either expressed
32 efcd7a43 Kostas Papadimitriou
# or implied, of GRNET S.A.
33 7fb619a0 Kostas Papadimitriou
#
34 7fb619a0 Kostas Papadimitriou
35 7fb619a0 Kostas Papadimitriou
import distribute_setup
36 7fb619a0 Kostas Papadimitriou
distribute_setup.use_setuptools()
37 efcd7a43 Kostas Papadimitriou
38 d2ff89df Kostas Papadimitriou
import os
39 7fb619a0 Kostas Papadimitriou
40 7fb619a0 Kostas Papadimitriou
from setuptools import setup, find_packages
41 7fb619a0 Kostas Papadimitriou
42 7fb619a0 Kostas Papadimitriou
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
43 9a32d894 Kostas Papadimitriou
44 07d104d8 Kostas Papadimitriou
from synnefo.versions.common import __version__
45 7fb619a0 Kostas Papadimitriou
46 7fb619a0 Kostas Papadimitriou
# Package info
47 07d104d8 Kostas Papadimitriou
VERSION = __version__
48 3eea2bc3 Constantinos Venetsanopoulos
SHORT_DESCRIPTION = 'Common infrastructure for all Synnefo components'
49 7fb619a0 Kostas Papadimitriou
50 7fb619a0 Kostas Papadimitriou
PACKAGES_ROOT = '.'
51 3eea2bc3 Constantinos Venetsanopoulos
PACKAGES = find_packages(PACKAGES_ROOT)
52 7fb619a0 Kostas Papadimitriou
53 7fb619a0 Kostas Papadimitriou
# Package meta
54 7fb619a0 Kostas Papadimitriou
CLASSIFIERS = []
55 7fb619a0 Kostas Papadimitriou
56 7fb619a0 Kostas Papadimitriou
# Package requirements
57 7fb619a0 Kostas Papadimitriou
INSTALL_REQUIRES = [
58 ea427133 Georgios D. Tsoukalas
    'objpool>=0.2',
59 ea427133 Georgios D. Tsoukalas
    'python-dateutil>=1.4.1',
60 7fb619a0 Kostas Papadimitriou
]
61 7fb619a0 Kostas Papadimitriou
62 7fb619a0 Kostas Papadimitriou
EXTRAS_REQUIRES = {
63 7fb619a0 Kostas Papadimitriou
}
64 7fb619a0 Kostas Papadimitriou
65 7fb619a0 Kostas Papadimitriou
TESTS_REQUIRES = [
66 7fb619a0 Kostas Papadimitriou
]
67 7fb619a0 Kostas Papadimitriou
68 7fb619a0 Kostas Papadimitriou
setup(
69 8c6585ca Christos Stavrakakis
    name='snf-common',
70 8c6585ca Christos Stavrakakis
    version=VERSION,
71 8c6585ca Christos Stavrakakis
    license='BSD',
72 8c6585ca Christos Stavrakakis
    url='http://www.synnefo.org/',
73 8c6585ca Christos Stavrakakis
    description=SHORT_DESCRIPTION,
74 8c6585ca Christos Stavrakakis
    classifiers=CLASSIFIERS,
75 8c6585ca Christos Stavrakakis
76 8c6585ca Christos Stavrakakis
    author='Synnefo development team',
77 8c6585ca Christos Stavrakakis
    author_email='synnefo-devel@googlegroups.com',
78 8c6585ca Christos Stavrakakis
    maintainer='Synnefo development team',
79 8c6585ca Christos Stavrakakis
    maintainer_email='synnefo-devel@googlegroups.com',
80 8c6585ca Christos Stavrakakis
81 8c6585ca Christos Stavrakakis
    namespace_packages=['synnefo', 'synnefo.versions'],
82 8c6585ca Christos Stavrakakis
    packages=PACKAGES,
83 8c6585ca Christos Stavrakakis
    package_dir={'': PACKAGES_ROOT},
84 8c6585ca Christos Stavrakakis
    include_package_data=True,
85 8c6585ca Christos Stavrakakis
    zip_safe=False,
86 8c6585ca Christos Stavrakakis
87 8c6585ca Christos Stavrakakis
    install_requires=INSTALL_REQUIRES,
88 8c6585ca Christos Stavrakakis
    extras_require=EXTRAS_REQUIRES,
89 8c6585ca Christos Stavrakakis
    tests_require=TESTS_REQUIRES,
90 8c6585ca Christos Stavrakakis
91 3eea2bc3 Constantinos Venetsanopoulos
    dependency_links=['http://www.synnefo.org/packages/pypi']
92 7fb619a0 Kostas Papadimitriou
)