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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
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
def
getGitIteration
():
import
subprocess
return
str
(
int
(
subprocess
.
Popen
([
"git"
,
"rev-list"
,
"--count"
,
"HEAD"
,
"--"
,
"."
],
stdout
=
subprocess
.
PIPE
).
communicate
()[
0
]))
#
def getGitIteration():
#
import subprocess
#
return str(int(subprocess.Popen(["git", "rev-list", "--count", "HEAD", "--",
#
"."], stdout=subprocess.PIPE).communicate()[0]))
name
=
"slapos.recipe.erp5"
version
=
'1.1-dev-
'
+
getGitIteration
()
version
=
'1.1-dev-
178'
def
read
(
name
):
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