Commit 3236a766 authored by sylvain.thenault@logilab.fr's avatar sylvain.thenault@logilab.fr
Browse files

1.5

parent 7594d44e65a1
......@@ -4,11 +4,11 @@
distname = "cubicweb-email"
modname = distname.split('-', 1)[1]
numversion = (1, 4, 1)
numversion = (1, 5, 0)
version = '.'.join(str(num) for num in numversion)
license = 'LGPL'
copyright = '''Copyright (c) 2003-2008 LOGILAB S.A. (Paris, FRANCE).
copyright = '''Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr/ -- mailto:contact@logilab.fr'''
author = "Logilab"
......
cubicweb-email (1.5.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 13 May 2009 11:28:08 +0200
cubicweb-email (1.4.1-1) DISTRIBUTION; urgency=low
* new upstream release
......@@ -38,7 +44,7 @@ cubicweb-email (1.2.1-1) DISTRIBUTION; urgency=low
* new upstream release
* update standards version and fix section in control
-- Sylvain Thénault <Sylvain.Thenault@logilab.fr> Wed, 27 Feb 2008 10:55:30 +0100
cubicweb-email (1.2.0-1) DISTRIBUTION; urgency=low
......
......@@ -11,7 +11,7 @@ Package: cubicweb-email
Architecture: all
Conflicts: erudi-blog, erudi-blog-server, erudi-blog-client, erudi-blog-comp
Replaces: erudi-blog, erudi-blog-server, erudi-blog-client, erudi-blog-comp
Depends: cubicweb-common (>= 2.99.0), cubicweb-file
Depends: cubicweb-common (>= 3.2.0), cubicweb-file
Description: email support for the CubicWeb framework
CubicWeb is a semantic web application framework.
.
......
......@@ -17,26 +17,12 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
""" Generic Setup script, takes package info from __pkginfo__.py file """
import os
import sys
import shutil
from distutils.core import setup
from distutils import command
from distutils.command import install_lib
from os.path import isdir, exists, join, walk
# import required features
from __pkginfo__ import distname, version, license, short_desc, long_desc, \
web, author, author_email
# import optional features
try:
from __pkginfo__ import distname
except ImportError:
distname = distname
try:
from __pkginfo__ import scripts
except ImportError:
scripts = []
try:
from __pkginfo__ import data_files
except ImportError:
......@@ -46,35 +32,17 @@ try:
except ImportError:
include_dirs = []
BASE_BLACKLIST = ('CVS', 'debian', 'dist', 'build', '__buildlog')
IGNORED_EXTENSIONS = ('.pyc', '.pyo', '.elc')
def ensure_scripts(linux_scripts):
"""creates the proper script names required for each platform
(taken from 4Suite)
"""
from distutils import util
if util.get_platform()[:3] == 'win':
scripts_ = [script + '.bat' for script in linux_scripts]
else:
scripts_ = linux_scripts
return scripts_
def install(**kwargs):
"""setup entry point"""
#kwargs['distname'] = modname
return setup(name=distname,
version=version,
license =license,
license=license,
description=short_desc,
long_description=long_desc,
author=author,
author_email=author_email,
url=web,
scripts=ensure_scripts(scripts),
data_files=data_files,
**kwargs)
......
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