Revision 9a32d894
b/snf-app/setup.py | ||
---|---|---|
40 | 40 |
from distutils.util import convert_path |
41 | 41 |
from fnmatch import fnmatchcase |
42 | 42 |
from setuptools import setup, find_packages |
43 |
from synnefo.util.version import update_version |
|
44 | 43 |
|
45 | 44 |
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__))) |
46 |
update_version('synnefo.versions', 'app', HERE) |
|
45 |
|
|
46 |
try: |
|
47 |
# try to update the version file |
|
48 |
from synnefo.util.version import update_version |
|
49 |
update_version('synnefo.versions', 'app', HERE) |
|
50 |
except ImportError: |
|
51 |
pass |
|
52 |
|
|
47 | 53 |
from synnefo.versions.app import __version__ |
48 | 54 |
|
49 | 55 |
# Package info |
... | ... | |
68 | 74 |
'South>=0.7', |
69 | 75 |
'pycrypto==2.1.0', |
70 | 76 |
'amqplib==0.6.1', |
71 |
'python-daemon==1.5.5' |
|
77 |
'python-daemon==1.5.5', |
|
78 |
'snf-common>=0.7.3', |
|
79 |
'vncauthproxy>=1.1' |
|
72 | 80 |
] |
73 | 81 |
|
74 | 82 |
EXTRAS_REQUIRES = { |
... | ... | |
197 | 205 |
extras_require = EXTRAS_REQUIRES, |
198 | 206 |
tests_require = TESTS_REQUIRES, |
199 | 207 |
|
208 |
dependency_links = ['http://docs.dev.grnet.gr/pypi'], |
|
209 |
|
|
200 | 210 |
entry_points = { |
201 | 211 |
'console_scripts': [ |
202 | 212 |
'snf-dispatcher = synnefo.logic.dispatcher:main', |
b/snf-common/setup.py | ||
---|---|---|
40 | 40 |
from distutils.util import convert_path |
41 | 41 |
from fnmatch import fnmatchcase |
42 | 42 |
from setuptools import setup, find_packages |
43 |
from synnefo.util.version import update_version |
|
44 | 43 |
|
45 | 44 |
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__))) |
46 |
update_version('synnefo.versions', 'common', HERE) |
|
45 |
|
|
46 |
try: |
|
47 |
# try to update the version file |
|
48 |
from synnefo.util.version import update_version |
|
49 |
update_version('synnefo.versions', 'common', HERE) |
|
50 |
except ImportError: |
|
51 |
pass |
|
52 |
|
|
47 | 53 |
from synnefo.versions.common import __version__ |
48 | 54 |
|
49 | 55 |
# Package info |
... | ... | |
91 | 97 |
install_requires = INSTALL_REQUIRES, |
92 | 98 |
extras_require = EXTRAS_REQUIRES, |
93 | 99 |
tests_require = TESTS_REQUIRES, |
100 |
|
|
101 |
dependency_links = ['http://docs.dev.grnet.gr/pypi'] |
|
94 | 102 |
) |
95 | 103 |
|
b/snf-ganeti-tools/setup.py | ||
---|---|---|
1 | 1 |
#!/usr/bin/env python |
2 |
# Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
# |
|
4 |
# Redistribution and use in source and binary forms, with or |
|
5 |
# without modification, are permitted provided that the following |
|
6 |
# conditions are met: |
|
7 |
# |
|
8 |
# 1. Redistributions of source code must retain the above |
|
9 |
# copyright notice, this list of conditions and the following |
|
10 |
# disclaimer. |
|
11 |
# |
|
12 |
# 2. Redistributions in binary form must reproduce the above |
|
13 |
# copyright notice, this list of conditions and the following |
|
14 |
# disclaimer in the documentation and/or other materials |
|
15 |
# provided with the distribution. |
|
16 |
# |
|
17 |
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
# POSSIBILITY OF SUCH DAMAGE. |
|
29 |
# |
|
30 |
# The views and conclusions contained in the software and |
|
31 |
# documentation are those of the authors and should not be |
|
32 |
# interpreted as representing official policies, either expressed |
|
33 |
# or implied, of GRNET S.A. |
|
34 |
# |
|
2 | 35 |
|
3 | 36 |
import os |
4 | 37 |
|
5 | 38 |
from setuptools import setup |
6 |
from synnefo.util.version import update_version |
|
7 | 39 |
|
8 | 40 |
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__))) |
9 |
update_version('synnefo.versions', 'ganeti', HERE) |
|
41 |
|
|
42 |
try: |
|
43 |
# try to update the version file |
|
44 |
from synnefo.util.version import update_version |
|
45 |
update_version('synnefo.versions', 'ganeti', HERE) |
|
46 |
except ImportError: |
|
47 |
pass |
|
48 |
|
|
10 | 49 |
from synnefo.versions.ganeti import __version__ |
11 | 50 |
|
12 | 51 |
setup( |
... | ... | |
19 | 58 |
url="http://code.grnet.gr/projects/synnefo", |
20 | 59 |
namespace_packages=["synnefo", "synnefo.versions"], |
21 | 60 |
packages=["synnefo", "synnefo.ganeti", "synnefo.versions"], |
61 |
dependency_links = ['http://docs.dev.grnet.gr/pypi'], |
|
22 | 62 |
install_requires=[ |
23 | 63 |
'daemon', |
24 | 64 |
'pyinotify', |
b/snf-okeanos-site/setup.py | ||
---|---|---|
1 |
# Copyright 2011 GRNET S.A. All rights reserved. |
|
2 |
# |
|
3 |
# Redistribution and use in source and binary forms, with or |
|
4 |
# without modification, are permitted provided that the following |
|
5 |
# conditions are met: |
|
6 |
# |
|
7 |
# 1. Redistributions of source code must retain the above |
|
8 |
# copyright notice, this list of conditions and the following |
|
9 |
# disclaimer. |
|
10 |
# |
|
11 |
# 2. Redistributions in binary form must reproduce the above |
|
12 |
# copyright notice, this list of conditions and the following |
|
13 |
# disclaimer in the documentation and/or other materials |
|
14 |
# provided with the distribution. |
|
15 |
# |
|
16 |
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
17 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
18 |
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
19 |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
20 |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
21 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
22 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
23 |
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
24 |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
25 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
26 |
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
27 |
# POSSIBILITY OF SUCH DAMAGE. |
|
28 |
# |
|
29 |
# The views and conclusions contained in the software and |
|
30 |
# documentation are those of the authors and should not be |
|
31 |
# interpreted as representing official policies, either expressed |
|
32 |
# or implied, of GRNET S.A. |
|
33 |
# |
|
34 |
|
|
1 | 35 |
import distribute_setup |
2 | 36 |
distribute_setup.use_setuptools() |
3 | 37 |
|
4 | 38 |
import os |
5 | 39 |
from setuptools import setup, find_packages |
6 |
from synnefo.util.version import update_version |
|
7 | 40 |
|
8 | 41 |
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__))) |
9 |
update_version('okeanos_site', 'version', HERE) |
|
42 |
|
|
43 |
try: |
|
44 |
# try to update the version file |
|
45 |
from synnefo.util.version import update_version |
|
46 |
update_version('okeanos_site', 'version', HERE) |
|
47 |
except ImportError: |
|
48 |
pass |
|
49 |
|
|
10 | 50 |
from okeanos_site.version import __version__ |
11 | 51 |
|
12 | 52 |
|
... | ... | |
24 | 64 |
|
25 | 65 |
# Package requirements |
26 | 66 |
INSTALL_REQUIRES = [ |
67 |
'snf-common>=0.7.3', |
|
68 |
'snf-webproject>=0.7.3', |
|
69 |
'snf-app>=0.7.3' |
|
27 | 70 |
] |
28 | 71 |
|
29 | 72 |
TESTS_REQUIRES = [ |
... | ... | |
57 | 100 |
maintainer = 'Kostas Papadimitriou', |
58 | 101 |
maintainer_email = 'kpap@grnet.gr', |
59 | 102 |
|
103 |
dependency_links = ['http://docs.dev.grnet.gr/pypi'], |
|
104 |
|
|
60 | 105 |
packages = PACKAGES, |
61 | 106 |
package_dir= {'': PACKAGES_ROOT}, |
62 | 107 |
include_package_data = True, |
b/snf-webproject/setup.py | ||
---|---|---|
40 | 40 |
from distutils.util import convert_path |
41 | 41 |
from fnmatch import fnmatchcase |
42 | 42 |
from setuptools import setup, find_packages |
43 |
from synnefo.util.version import update_version |
|
44 | 43 |
|
45 | 44 |
HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__))) |
46 |
update_version('synnefo.versions', 'webproject', HERE) |
|
45 |
|
|
46 |
try: |
|
47 |
# try to update the version file |
|
48 |
from synnefo.util.version import update_version |
|
49 |
update_version('synnefo.versions', 'webproject', HERE) |
|
50 |
except ImportError: |
|
51 |
pass |
|
52 |
|
|
47 | 53 |
from synnefo.versions.webproject import __version__ |
48 | 54 |
|
49 | 55 |
# Package info |
... | ... | |
60 | 66 |
|
61 | 67 |
# Package requirements |
62 | 68 |
INSTALL_REQUIRES = [ |
63 |
'Django>=1.2.4' |
|
69 |
'Django>=1.2.4', |
|
70 |
'snf-common>=0.7.3' |
|
64 | 71 |
] |
65 | 72 |
|
66 | 73 |
EXTRAS_REQUIRES = { |
... | ... | |
93 | 100 |
extras_require = EXTRAS_REQUIRES, |
94 | 101 |
tests_require = TESTS_REQUIRES, |
95 | 102 |
|
103 |
dependency_links = ['http://docs.dev.grnet.gr/pypi'], |
|
104 |
|
|
96 | 105 |
entry_points = { |
97 | 106 |
'console_scripts': [ |
98 | 107 |
'snf-manage = synnefo.webproject.manage:main', |
Also available in: Unified diff