Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
c4ab66bd
Commit
c4ab66bd
authored
Aug 20, 2013
by
Christos Stavrakakis
Browse files
deploy: Add snfdeploy to path to import version
parent
5d448991
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-deploy/setup.py
View file @
c4ab66bd
...
...
@@ -36,13 +36,16 @@ import distribute_setup
distribute_setup
.
use_setuptools
()
import
os
import
sys
from
distutils.util
import
convert_path
from
fnmatch
import
fnmatchcase
from
setuptools
import
setup
,
find_packages
from
snfdeploy.version
import
__version__
HERE
=
os
.
path
.
abspath
(
os
.
path
.
normpath
(
os
.
path
.
dirname
(
__file__
)))
# Add snfdeploy to sys.path and load version module
sys
.
path
.
insert
(
0
,
"snfdeploy"
)
from
version
import
__version__
# Package info
VERSION
=
__version__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment