Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

        def get_version():
  version = '%s.%s' % (VERSION[0], VERSION[1])
  if VERSION[2]:
    version = '%s.%s' % (version, VERSION[2])
  if VERSION[3:] == ('alpha', 0):
    version = '%spre-alpha' % version
  else:
    if VERSION[3] != 'final':
      version = "%s%s" % (version, VERSION[3])
      if VERSION[4] != 0:
        version = '%s%s' % (version, VERSION[4])
  return version
        


src/d/j/django-pgmp-0.1/setup.py   django-pgmp(Download)
from distutils.core import setup
 
from django_pgmp import get_version
 
# Compile the list of packages available, because distutils doesn't have an