Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
48e193d3
Commit
48e193d3
authored
May 18, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable git autonumbering.
This feauture have to be implemented on different level.
parent
e203e4f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
slapos/recipe/erp5/setup.py
slapos/recipe/erp5/setup.py
+5
-5
No files found.
slapos/recipe/erp5/setup.py
View file @
48e193d3
from
setuptools
import
setup
,
find_packages
from
setuptools
import
setup
,
find_packages
def
getGitIteration
():
#
def getGitIteration():
import
subprocess
#
import subprocess
return
str
(
int
(
subprocess
.
Popen
([
"git"
,
"rev-list"
,
"--count"
,
"HEAD"
,
"--"
,
#
return str(int(subprocess.Popen(["git", "rev-list", "--count", "HEAD", "--",
"."
],
stdout
=
subprocess
.
PIPE
).
communicate
()[
0
]))
#
"."], stdout=subprocess.PIPE).communicate()[0]))
name
=
"slapos.recipe.erp5"
name
=
"slapos.recipe.erp5"
version
=
'1.1-dev-
'
+
getGitIteration
()
version
=
'1.1-dev-
178'
def
read
(
name
):
def
read
(
name
):
return
open
(
name
).
read
()
return
open
(
name
).
read
()
...
...
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