forked from jneen/crammit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (32 loc) · 1 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.4',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description=('Asset packaging library. '
'Concatenates, Minifies, and Compresses CSS and JavaScript'),
author='Ruslan Spivak',
author_email='[email protected]',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit', 'cssmin', 'PyYAML', 'envoy'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)