From: Benoît Pin Date: Fri, 19 Dec 2014 16:44:37 +0000 (+0100) Subject: eggification X-Git-Url: https://scm.cri.ensmp.fr/git/Photo.git/commitdiff_plain/6c41809185e322ce2d30e98234f71144f78f06c0?hp=b0a7e10b4f32cf74864bb53268ca4d3080f23bc0 eggification --- diff --git a/Photo.py b/Products/Photo/Photo.py similarity index 100% rename from Photo.py rename to Products/Photo/Photo.py diff --git a/TODO.txt b/Products/Photo/TODO.txt similarity index 100% rename from TODO.txt rename to Products/Photo/TODO.txt diff --git a/TileSupport.py b/Products/Photo/TileSupport.py similarity index 100% rename from TileSupport.py rename to Products/Photo/TileSupport.py diff --git a/__init__.py b/Products/Photo/__init__.py similarity index 100% rename from __init__.py rename to Products/Photo/__init__.py diff --git a/blobbases.py b/Products/Photo/blobbases.py similarity index 100% rename from blobbases.py rename to Products/Photo/blobbases.py diff --git a/cache.py b/Products/Photo/cache.py similarity index 100% rename from cache.py rename to Products/Photo/cache.py diff --git a/dependencies.txt b/Products/Photo/dependencies.txt similarity index 100% rename from dependencies.txt rename to Products/Photo/dependencies.txt diff --git a/dtml/File_icon.gif b/Products/Photo/dtml/File_icon.gif similarity index 100% rename from dtml/File_icon.gif rename to Products/Photo/dtml/File_icon.gif diff --git a/dtml/Image_icon.gif b/Products/Photo/dtml/Image_icon.gif similarity index 100% rename from dtml/Image_icon.gif rename to Products/Photo/dtml/Image_icon.gif diff --git a/dtml/addPhotoForm.dtml b/Products/Photo/dtml/addPhotoForm.dtml similarity index 100% rename from dtml/addPhotoForm.dtml rename to Products/Photo/dtml/addPhotoForm.dtml diff --git a/dtml/fileEdit.dtml b/Products/Photo/dtml/fileEdit.dtml similarity index 100% rename from dtml/fileEdit.dtml rename to Products/Photo/dtml/fileEdit.dtml diff --git a/dtml/imageAdd.dtml b/Products/Photo/dtml/imageAdd.dtml similarity index 100% rename from dtml/imageAdd.dtml rename to Products/Photo/dtml/imageAdd.dtml diff --git a/dtml/imageEdit.dtml b/Products/Photo/dtml/imageEdit.dtml similarity index 100% rename from dtml/imageEdit.dtml rename to Products/Photo/dtml/imageEdit.dtml diff --git a/dtml/imageView.dtml b/Products/Photo/dtml/imageView.dtml similarity index 100% rename from dtml/imageView.dtml rename to Products/Photo/dtml/imageView.dtml diff --git a/dtml/photoEdit.dtml b/Products/Photo/dtml/photoEdit.dtml similarity index 100% rename from dtml/photoEdit.dtml rename to Products/Photo/dtml/photoEdit.dtml diff --git a/dtml/photoView.dtml b/Products/Photo/dtml/photoView.dtml similarity index 100% rename from dtml/photoView.dtml rename to Products/Photo/dtml/photoView.dtml diff --git a/dtml/photo_icon.gif b/Products/Photo/dtml/photo_icon.gif similarity index 100% rename from dtml/photo_icon.gif rename to Products/Photo/dtml/photo_icon.gif diff --git a/dtml/testMenu.dtml b/Products/Photo/dtml/testMenu.dtml similarity index 100% rename from dtml/testMenu.dtml rename to Products/Photo/dtml/testMenu.dtml diff --git a/exif.py b/Products/Photo/exif.py similarity index 100% rename from exif.py rename to Products/Photo/exif.py diff --git a/license.txt b/Products/Photo/license.txt similarity index 100% rename from license.txt rename to Products/Photo/license.txt diff --git a/metadata.py b/Products/Photo/metadata.py similarity index 100% rename from metadata.py rename to Products/Photo/metadata.py diff --git a/migration/__init__.py b/Products/Photo/migration/__init__.py similarity index 100% rename from migration/__init__.py rename to Products/Photo/migration/__init__.py diff --git a/migration/from2to3.py b/Products/Photo/migration/from2to3.py similarity index 100% rename from migration/from2to3.py rename to Products/Photo/migration/from2to3.py diff --git a/migration/toblob.py b/Products/Photo/migration/toblob.py similarity index 100% rename from migration/toblob.py rename to Products/Photo/migration/toblob.py diff --git a/ppm.py b/Products/Photo/ppm.py similarity index 100% rename from ppm.py rename to Products/Photo/ppm.py diff --git a/readme.txt b/Products/Photo/readme.txt similarity index 100% rename from readme.txt rename to Products/Photo/readme.txt diff --git a/standards/__init__.py b/Products/Photo/standards/__init__.py similarity index 100% rename from standards/__init__.py rename to Products/Photo/standards/__init__.py diff --git a/standards/bridges/__init__.py b/Products/Photo/standards/bridges/__init__.py similarity index 100% rename from standards/bridges/__init__.py rename to Products/Photo/standards/bridges/__init__.py diff --git a/standards/bridges/_bridges.py b/Products/Photo/standards/bridges/_bridges.py similarity index 100% rename from standards/bridges/_bridges.py rename to Products/Photo/standards/bridges/_bridges.py diff --git a/standards/bridges/xmp_exif.csv b/Products/Photo/standards/bridges/xmp_exif.csv similarity index 100% rename from standards/bridges/xmp_exif.csv rename to Products/Photo/standards/bridges/xmp_exif.csv diff --git a/standards/exif/0thIFDExifPrivateTags.csv b/Products/Photo/standards/exif/0thIFDExifPrivateTags.csv similarity index 100% rename from standards/exif/0thIFDExifPrivateTags.csv rename to Products/Photo/standards/exif/0thIFDExifPrivateTags.csv diff --git a/standards/exif/0thIFDGPSInfoTags.csv b/Products/Photo/standards/exif/0thIFDGPSInfoTags.csv similarity index 100% rename from standards/exif/0thIFDGPSInfoTags.csv rename to Products/Photo/standards/exif/0thIFDGPSInfoTags.csv diff --git a/standards/exif/0thIFDInteroperabilityTag.csv b/Products/Photo/standards/exif/0thIFDInteroperabilityTag.csv similarity index 100% rename from standards/exif/0thIFDInteroperabilityTag.csv rename to Products/Photo/standards/exif/0thIFDInteroperabilityTag.csv diff --git a/standards/exif/0thIFDTIFFTags.csv b/Products/Photo/standards/exif/0thIFDTIFFTags.csv similarity index 100% rename from standards/exif/0thIFDTIFFTags.csv rename to Products/Photo/standards/exif/0thIFDTIFFTags.csv diff --git a/standards/exif/1stIFDTIFFTag.csv b/Products/Photo/standards/exif/1stIFDTIFFTag.csv similarity index 100% rename from standards/exif/1stIFDTIFFTag.csv rename to Products/Photo/standards/exif/1stIFDTIFFTag.csv diff --git a/standards/exif/__init__.py b/Products/Photo/standards/exif/__init__.py similarity index 100% rename from standards/exif/__init__.py rename to Products/Photo/standards/exif/__init__.py diff --git a/standards/exif/_exif_tags.py b/Products/Photo/standards/exif/_exif_tags.py similarity index 100% rename from standards/exif/_exif_tags.py rename to Products/Photo/standards/exif/_exif_tags.py diff --git a/standards/exif/gpsA.csv b/Products/Photo/standards/exif/gpsA.csv similarity index 100% rename from standards/exif/gpsA.csv rename to Products/Photo/standards/exif/gpsA.csv diff --git a/standards/exif/hand_added.csv b/Products/Photo/standards/exif/hand_added.csv similarity index 100% rename from standards/exif/hand_added.csv rename to Products/Photo/standards/exif/hand_added.csv diff --git a/standards/exif/ifdA.csv b/Products/Photo/standards/exif/ifdA.csv similarity index 100% rename from standards/exif/ifdA.csv rename to Products/Photo/standards/exif/ifdA.csv diff --git a/standards/exif/ifdB.csv b/Products/Photo/standards/exif/ifdB.csv similarity index 100% rename from standards/exif/ifdB.csv rename to Products/Photo/standards/exif/ifdB.csv diff --git a/standards/exif/ifdC.csv b/Products/Photo/standards/exif/ifdC.csv similarity index 100% rename from standards/exif/ifdC.csv rename to Products/Photo/standards/exif/ifdC.csv diff --git a/standards/exif/ifdD.csv b/Products/Photo/standards/exif/ifdD.csv similarity index 100% rename from standards/exif/ifdD.csv rename to Products/Photo/standards/exif/ifdD.csv diff --git a/standards/exif/ifdE.csv b/Products/Photo/standards/exif/ifdE.csv similarity index 100% rename from standards/exif/ifdE.csv rename to Products/Photo/standards/exif/ifdE.csv diff --git a/standards/exif/ifdF.csv b/Products/Photo/standards/exif/ifdF.csv similarity index 100% rename from standards/exif/ifdF.csv rename to Products/Photo/standards/exif/ifdF.csv diff --git a/standards/exif/ifdG.csv b/Products/Photo/standards/exif/ifdG.csv similarity index 100% rename from standards/exif/ifdG.csv rename to Products/Photo/standards/exif/ifdG.csv diff --git a/standards/exif/ifdH.csv b/Products/Photo/standards/exif/ifdH.csv similarity index 100% rename from standards/exif/ifdH.csv rename to Products/Photo/standards/exif/ifdH.csv diff --git a/standards/exif/tiffA.csv b/Products/Photo/standards/exif/tiffA.csv similarity index 100% rename from standards/exif/tiffA.csv rename to Products/Photo/standards/exif/tiffA.csv diff --git a/standards/exif/tiffB.csv b/Products/Photo/standards/exif/tiffB.csv similarity index 100% rename from standards/exif/tiffB.csv rename to Products/Photo/standards/exif/tiffB.csv diff --git a/standards/exif/tiffC.csv b/Products/Photo/standards/exif/tiffC.csv similarity index 100% rename from standards/exif/tiffC.csv rename to Products/Photo/standards/exif/tiffC.csv diff --git a/standards/exif/tiffD.csv b/Products/Photo/standards/exif/tiffD.csv similarity index 100% rename from standards/exif/tiffD.csv rename to Products/Photo/standards/exif/tiffD.csv diff --git a/standards/xmp/__init__.py b/Products/Photo/standards/xmp/__init__.py similarity index 100% rename from standards/xmp/__init__.py rename to Products/Photo/standards/xmp/__init__.py diff --git a/standards/xmp/_namespaces.py b/Products/Photo/standards/xmp/_namespaces.py similarity index 100% rename from standards/xmp/_namespaces.py rename to Products/Photo/standards/xmp/_namespaces.py diff --git a/standards/xmp/accessors.csv b/Products/Photo/standards/xmp/accessors.csv similarity index 100% rename from standards/xmp/accessors.csv rename to Products/Photo/standards/xmp/accessors.csv diff --git a/version.txt b/Products/Photo/version.txt similarity index 100% rename from version.txt rename to Products/Photo/version.txt diff --git a/xmp.py b/Products/Photo/xmp.py similarity index 100% rename from xmp.py rename to Products/Photo/xmp.py diff --git a/xmp_jpeg.py b/Products/Photo/xmp_jpeg.py similarity index 100% rename from xmp_jpeg.py rename to Products/Photo/xmp_jpeg.py diff --git a/xmputils.py b/Products/Photo/xmputils.py similarity index 100% rename from xmputils.py rename to Products/Photo/xmputils.py diff --git a/xslt/xmp_merge_descriptions.xsl b/Products/Photo/xslt/xmp_merge_descriptions.xsl similarity index 100% rename from xslt/xmp_merge_descriptions.xsl rename to Products/Photo/xslt/xmp_merge_descriptions.xsl diff --git a/Products/__init__.py b/Products/__init__.py new file mode 100644 index 0000000..d407605 --- /dev/null +++ b/Products/__init__.py @@ -0,0 +1,5 @@ +try: + __import__('pkg_resources').declare_namespace(__name__) +except ImportError: + from pkgutil import extend_path + __path__ = extend_path(__path__, __name__) diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0c8d0ba --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +from setuptools import setup, find_packages + + +setup(name='Products.Photo', + version='3.0', + description='Photo management for Zope', + url='http://plinn.org', + author="Benoît Pin – MINES ParisTech – Armines", + author_email="benoit.pin@mines-paristech.fr", + license="GPL", + packages=find_packages(), + include_package_data=True, + namespace_packages=['Products'], + zip_safe=False, + install_requires=[] #TODO + )