make package ready for distribution as an sdist egg

This commit is contained in:
Helmut Merz 2016-12-31 13:43:05 +01:00
parent c03e47ab3d
commit d385dc8dea
3 changed files with 16 additions and 12 deletions

8
MANIFEST.in Normal file
View file

@ -0,0 +1,8 @@
recursive-include . *.cfg
recursive-include . *.css *.js
recursive-include . *.gif *.jpg *.png
recursive-include . *.md *.txt
recursive-include . *.mo *.po *.pot
recursive-include . *.pt *.zpt
recursive-include . *.zcml
recursive-include . mime.types

View file

@ -1,5 +1,5 @@
# #
# Copyright (c) 2011 Helmut Merz helmutm@cy55.de # Copyright (c) 2017 Helmut Merz helmutm@cy55.de
# #
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
@ -27,7 +27,7 @@ from zope.app.container.traversal import ItemTraverser
from zope.interface import Interface, implements from zope.interface import Interface, implements
TraversalRedirector(ItemTraverser): class TraversalRedirector(ItemTraverser):
port = 9083 port = 9083
names = ('ctt', 'sona',) names = ('ctt', 'sona',)

View file

@ -1,18 +1,18 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
import sys, os import sys, os
version = '2.0' version = '2.1.3'
setup(name='cybertools', setup(name='cybertools',
version=version, version=version,
description="cybertools", description="cybertools: basic utilities for Zope3/bluebream/loops",
long_description="""\ long_description="""\
""", """,
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='', keywords='',
author='Helmut Merz', author='cyberconcepts.org team',
author_email='helmutm@cy55.de', author_email='team@cyberconcepts.org',
url='', url='https://www.cyberconcepts.org',
license='GPL', license='GPL',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True, include_package_data=True,
@ -20,15 +20,11 @@ setup(name='cybertools',
install_requires=[ install_requires=[
# -*- Extra requirements: -*- # -*- Extra requirements: -*-
'lxml', 'lxml',
#'PIL', #'Pillow',
'zope.app.catalog', 'zope.app.catalog',
'zope.app.dublincore',
'zope.app.file', 'zope.app.file',
'zope.app.intid', 'zope.app.intid',
'zope.app.preview',
'zope.app.renderer',
'zope.app.session', 'zope.app.session',
'zope.dublincore',
'zope.sendmail', 'zope.sendmail',
], ],
entry_points=""" entry_points="""