#! /usr/bin/env python # Cerealizer # Copyright (C) 2005-2012 Jean-Baptiste LAMY # # This program is free software. # It is available under the Python licence. import sys, os.path import setuptools if ("build" in sys.argv) or ("install" in sys.argv) or ("bdist_wheel" in sys.argv) or ("bdist_egg" in sys.argv): HERE = os.path.dirname(sys.argv[0]) or "." for filename in os.listdir(HERE): filename = os.path.join(HERE, filename) if filename.endswith(".py%s" % sys.version[0]): open(filename[:-1], "w").write(open(filename).read()) include_package_data = False else: include_package_data = True setuptools.setup (name = "Cerealizer", version = "0.8.4", license = "Python licence", description = "A secure pickle-like module", long_description = """A secure pickle-like module. It support basic types (int, string, unicode, tuple, list, dict, set,...), old and new-style classes (you need to register the class for security), object cycles, and it can be extended to support C-defined type.""", author = "Lamy Jean-Baptiste (Jiba)", author_email = "jibalamy@free.fr", url = "http://www.lesfleursdunormal.fr/static/informatique/cerealizer/index_en.html", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Security", "Topic :: Software Development :: Libraries :: Python Modules", ], package_dir = {"cerealizer" : ""}, packages = ["cerealizer"], #include_package_data = include_package_data, )