python/jsmin/setup.py
author Wes Kocher <wkocher@mozilla.com>
Tue, 17 Jun 2014 13:31:33 -0700
changeset 209965 88607fe05a3fb21a264ab2594e1705ede5a226c0
parent 195297 19f34c6aeb281b66e84c0a6fcd2156ade37c2358
child 241979 ffb71ee18b1f28d3a6f1b54ff735732c266f7aab
permissions -rw-r--r--
Touch CLOBBER for bug 102262

from setuptools import setup

import os, sys, re

os.environ['COPYFILE_DISABLE'] = 'true'  # this disables including resource forks in tar files on os x


extra = {}
if sys.version_info >= (3,0):
    extra['use_2to3'] = True

setup(
    name="jsmin",
    version=re.search(r'__version__ = ["\']([^"\']+)', open('jsmin/__init__.py').read()).group(1),
    packages=['jsmin'],
    description='JavaScript minifier.',
    author='Dave St.Germain',
    author_email='dave@st.germa.in',
    test_suite='jsmin.test.JsTests',
    license='MIT License',
    url='https://bitbucket.org/dcs/jsmin/',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Pre-processors',
        'Topic :: Text Processing :: Filters',
    ],
    **extra
)