#!/usr/bin/env python from setuptools import setup, find_packages import transmogrify, os def read_file(the_file): current_dir = os.path.normpath(os.path.dirname(__file__)) return open(os.path.join(current_dir, the_file)).read() setup(name = 'transmogrify', version = transmogrify.get_version() + "-gannett", description = 'Allows for the dynamic alteration of images using the URL.', long_description = "", author = 'Corey Oordt', author_email = '*****@*****.**', url = 'http://opensource.washingtontimes.com/projects/transmogrify/', classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 2', ], packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data = True, zip_safe=False, install_requires=['PIL', 'wsgiref'], )
# The encoding of source files. #source_encoding = 'utf-8' # The master toctree document. master_doc = 'index' # General information about the project. project = u'Transmogrify' copyright = u'2010, The Washington Times' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = transmogrify.get_version() # The full version, including alpha/beta/rc tags. release = transmogrify.get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = []
#!/usr/bin/env python from setuptools import setup, find_packages from subprocess import Popen, PIPE import transmogrify, os def read_file(the_file): current_dir = os.path.normpath(os.path.dirname(__file__)) return open(os.path.join(current_dir, the_file)).read() setup( name = 'transmogrify', version = transmogrify.get_version(), description = 'Allows for the dynamic alteration of images using the URL.', long_description = read_file('README'), author = 'Corey Oordt', author_email = '*****@*****.**', url = 'http://opensource.washingtontimes.com/projects/transmogrify/', classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 2', ], install_requires=read_file('requirements.txt'), include_package_data = True, packages = find_packages(), )