Remove unecessary file
authorNoe Gaumont <ngaumont@logilab.fr>
Fri, 12 Apr 2019 10:28:54 +0200
changeset 196 42f245688b5d
parent 195 f26990ab3f7c
child 197 1fcffb09447e
Remove unecessary file
MANIFEST.in
__pkginfo__.py
cubicweb_keyword/setup.py
--- a/MANIFEST.in	Fri Apr 12 09:55:06 2019 +0200
+++ b/MANIFEST.in	Fri Apr 12 10:28:54 2019 +0200
@@ -4,4 +4,3 @@
 recursive-include cubicweb_keyword *.py
 recursive-include cubicweb_keyword/data external_resources *.gif *.js
 recursive-include cubicweb_keyword/i18n *.pot *.po
-
--- a/__pkginfo__.py	Fri Apr 12 09:55:06 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-cubicweb_keyword/__pkginfo__.py
\ No newline at end of file
--- a/cubicweb_keyword/setup.py	Fri Apr 12 09:55:06 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-#!/usr/bin/env python
-# pylint: disable-msg=W0404,W0622,W0704,W0613,W0152
-# Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE).
-# http://www.logilab.fr/ -- mailto:contact@logilab.fr
-#
-# This program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or (at your option) any later
-# version.
-#
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc.,
-# 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:
-    data_files = None
-try:
-    from __pkginfo__ import include_dirs
-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,
-                 description=short_desc,
-                 long_description=long_desc,
-                 author=author,
-                 author_email=author_email,
-                 url=web,
-                 scripts=ensure_scripts(scripts),
-                 data_files=data_files,
-                 **kwargs)
-
-if __name__ == '__main__' :
-    install()