Commit 48e193d3 authored by Łukasz Nowak's avatar Łukasz Nowak

Disable git autonumbering.

This feauture have to be implemented on different level.
parent e203e4f3
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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment