setup.py 1.09 KB
Newer Older
1 2
from setuptools import setup, find_packages

3 4 5 6
#def getGitIteration():
#  import subprocess
#  return str(int(subprocess.Popen(["git", "rev-list", "--count", "HEAD", "--",
#    "."], stdout=subprocess.PIPE).communicate()[0]))
7

8
name = "slapos.recipe.erp5"
9
version = '1.1-dev-180'
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

def read(name):
  return open(name).read()

long_description=( read('README.txt')
                   + '\n' +
                   read('CHANGES.txt')
                 )

setup(
    name = name,
    version = version,
    description = "ZC Buildout recipe for create an erp5 instance",
    long_description=long_description,
    license = "GPLv3",
    keywords = "buildout slapos erp5",
    classifiers=[
        "Framework :: Buildout :: Recipe",
        "Programming Language :: Python",
    ],
    packages = find_packages('src'),
    package_dir = {'': 'src'},
    include_package_data=True,
    install_requires = [
      'zc.recipe.egg',
      'setuptools',
36
      'slapos.lib.recipe',
37
      'Zope2',
38 39 40 41
      ],
    namespace_packages = ['slapos', 'slapos.recipe'],
    entry_points = {'zc.buildout': ['default = %s:Recipe' % name]},
    )