File tree Expand file tree Collapse file tree 24 files changed +452
-412
lines changed Expand file tree Collapse file tree 24 files changed +452
-412
lines changed Original file line number Diff line number Diff line change
1
+
2
+ * ~
3
+
4
+ setup.cfg
5
+
1
6
* .py [co ]
2
7
3
8
# Packages
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 4
4
- Python 2.6 : [ ![ Build Status] ( https://jenkins1.ugent.be/job/vsc-utils-python26/badge/icon )] ( https://jenkins1.ugent.be/job/vsc-utils-python26/ )
5
5
- Python 2.7 : [ ![ Build Status] ( https://jenkins1.ugent.be/job/vsc-utils-python27/badge/icon )] ( https://jenkins1.ugent.be/job/vsc-utils-python27/ )
6
6
7
+ # Description
7
8
Common tools used within our organization.
8
9
These tools live in the vsc.utils namespace, toghether with the tools from
9
10
vsc-base.
10
11
11
- They have been split of from vsc-base because the tools here need aditional dependencies to work correctly whereas the tools in vsc-base do not.
12
+ They have been split of from vsc-base because the tools here need aditional dependencies
13
+ to work correctly whereas the tools in vsc-base do not.
12
14
13
15
Originally created by the HPC team of Ghent University (http://ugent.be/hpc ).
14
16
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- ##
2
- # Copyright 2012-2013 Ghent University
1
+ #
2
+ # Copyright 2015-2015 Ghent University
3
3
#
4
4
# This file is part of vsc-utils,
5
5
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
8
8
# the Hercules foundation (http://www.herculesstichting.be/in_English)
9
9
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
10
10
#
11
- # http ://github.com/hpcugent/vsc-utils
11
+ # https ://github.com/hpcugent/vsc-utils
12
12
#
13
13
# vsc-utils is free software: you can redistribute it and/or modify
14
14
# it under the terms of the GNU Library General Public License as
22
22
#
23
23
# You should have received a copy of the GNU Library General Public License
24
24
# along with vsc-utils. If not, see <http://www.gnu.org/licenses/>.
25
- ##
25
+ #
26
26
"""
27
- @author: Jens Timmerman (Ghent University)
27
+ Allow other packages to extend this namespace, zip safe setuptools style
28
28
"""
29
- from pkgutil import extend_path
30
-
31
- # we're not the only ones in this namespace
32
- __path__ = extend_path (__path__ , __name__ ) #@ReservedAssignment
33
- __import__ ('pkg_resources' ).declare_namespace (__name__ )
29
+ import pkg_resources
30
+ pkg_resources .declare_namespace (__name__ )
Original file line number Diff line number Diff line change 1
- ##
2
- # Copyright 2012-2013 Ghent University
1
+ #
2
+ # Copyright 2015-2015 Ghent University
3
3
#
4
4
# This file is part of vsc-utils,
5
5
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
8
8
# the Hercules foundation (http://www.herculesstichting.be/in_English)
9
9
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
10
10
#
11
- # http ://github.com/hpcugent/vsc-utils
11
+ # https ://github.com/hpcugent/vsc-utils
12
12
#
13
13
# vsc-utils is free software: you can redistribute it and/or modify
14
14
# it under the terms of the GNU Library General Public License as
22
22
#
23
23
# You should have received a copy of the GNU Library General Public License
24
24
# along with vsc-utils. If not, see <http://www.gnu.org/licenses/>.
25
- ##
25
+ #
26
26
"""
27
- @author: Jens Timmerman (Ghent University)
27
+ Allow other packages to extend this namespace, zip safe setuptools style
28
28
"""
29
- from pkgutil import extend_path
30
-
31
- # we're not the only ones in this namespace
32
- __path__ = extend_path (__path__ , __name__ ) #@ReservedAssignment
33
- __import__ ('pkg_resources' ).declare_namespace (__name__ )
29
+ import pkg_resources
30
+ pkg_resources .declare_namespace (__name__ )
Original file line number Diff line number Diff line change 1
- ##
2
- # Copyright 2012-2013 Ghent University
1
+ #
2
+ # Copyright 2012-2015 Ghent University
3
3
#
4
4
# This file is part of vsc-utils,
5
5
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
8
8
# the Hercules foundation (http://www.herculesstichting.be/in_English)
9
9
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
10
10
#
11
- # http ://github.com/hpcugent/vsc-utils
11
+ # https ://github.com/hpcugent/vsc-utils
12
12
#
13
13
# vsc-utils is free software: you can redistribute it and/or modify
14
14
# it under the terms of the GNU Library General Public License as
22
22
#
23
23
# You should have received a copy of the GNU Library General Public License
24
24
# along with vsc-utils. If not, see <http://www.gnu.org/licenses/>.
25
- ##
25
+ #
26
26
"""
27
27
Module for high-availability functionality.
28
28
Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright 2012-2013 Ghent University
2
+ # Copyright 2012-2015 Ghent University
3
3
#
4
4
# This file is part of vsc-utils,
5
5
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
8
8
# the Hercules foundation (http://www.herculesstichting.be/in_English)
9
9
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
10
10
#
11
- # http ://github.com/hpcugent/vsc-utils
11
+ # https ://github.com/hpcugent/vsc-utils
12
12
#
13
13
# vsc-utils is free software: you can redistribute it and/or modify
14
14
# it under the terms of the GNU Library General Public License as
22
22
#
23
23
# You should have received a copy of the GNU Library General Public License
24
24
# along with vsc-utils. If not, see <http://www.gnu.org/licenses/>.
25
+ #
25
26
"""
26
27
Caching utilities.
27
28
Original file line number Diff line number Diff line change 1
- ##
2
- # Copyright 2009 Daniel Miller
3
- # Copyright 2012-2013 Ghent University
1
+ #
2
+ # Copyright 2009-2015 Ghent University
4
3
#
5
4
# This file is part of vsc-utils,
6
- # originally created by Daniel Miller (http://code.activestate.com/recipes/576980/)
7
- # and adapted by the HPC team of Ghent University (http://ugent.be/hpc/en),
5
+ # originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
8
6
# with support of Ghent University (http://ugent.be/hpc),
9
7
# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en),
10
8
# the Hercules foundation (http://www.herculesstichting.be/in_English)
11
9
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
12
10
#
13
- # http ://github.com/hpcugent/vsc-utils
11
+ # https ://github.com/hpcugent/vsc-utils
14
12
#
15
13
# vsc-utils is free software: you can redistribute it and/or modify
16
14
# it under the terms of the GNU Library General Public License as
24
22
#
25
23
# You should have received a copy of the GNU Library General Public License
26
24
# along with vsc-utils. If not, see <http://www.gnu.org/licenses/>.
27
- ##
25
+ #
28
26
"""
29
27
Borrowed code from http://code.activestate.com/recipes/576980/
30
28
-- originally released under MIT license
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
2
- ##
3
- # Copyright 2012-2013 Ghent University
1
+ #
2
+ # Copyright 2012-2015 Ghent University
4
3
#
5
4
# This file is part of vsc-utils,
6
5
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
9
8
# the Hercules foundation (http://www.herculesstichting.be/in_English)
10
9
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
11
10
#
12
- # http ://github.com/hpcugent/vsc-utils
11
+ # https ://github.com/hpcugent/vsc-utils
13
12
#
14
13
# vsc-utils is free software: you can redistribute it and/or modify
15
14
# it under the terms of the GNU Library General Public License as
23
22
#
24
23
# You should have received a copy of the GNU Library General Public License
25
24
# along with vsc-utils. If not, see <http://www.gnu.org/licenses/>.
26
- ##
25
+ #
27
26
"""Functions to help storing information somewhere in the file system.
28
27
29
28
An example use of this is storing cached information in the user's
You can’t perform that action at this time.
0 commit comments