-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
84 lines (79 loc) · 2.49 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
from setuptools import find_packages
from setuptools import setup
long_description = (
open('README.rst', encoding='utf8').read()
+ '\n' +
open('CHANGES.rst', encoding='utf8').read())
install_requires = [
'WebOb >= 1.2',
'setuptools',
]
tests_require = [
'closure',
'cssmin',
'jsmin',
'pytest >= 2.3',
]
setup(
name='fanstatic',
version='1.5.dev0',
description="Flexible static resources for web applications",
classifiers=[
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Development Status :: 5 - Production/Stable',
],
keywords='',
author='Fanstatic Developers',
author_email='[email protected]',
long_description=long_description,
license='BSD',
url='http://fanstatic.org',
packages=find_packages('src'),
package_dir={'': 'src'},
zip_safe=False,
python_requires='>=3.8',
install_requires=install_requires,
extras_require={
'closure': ['closure'],
'cssmin': ['cssmin'],
'jsmin': ['jsmin'],
'test': tests_require,
'docs': [
'Sphinx',
],
},
entry_points={
'console_scripts': [
'fanstatic-compile = fanstatic.compiler:compile_resources',
],
'paste.filter_app_factory': [
'fanstatic = fanstatic:make_fanstatic',
'injector = fanstatic:make_injector',
],
'paste.app_factory': [
'serf = fanstatic:make_serf',
'publisher = fanstatic:make_publisher',
],
'fanstatic.injectors': [
'topbottom = fanstatic.injector:TopBottomInjector',
],
'fanstatic.compilers': [
'coffee = fanstatic.compiler:COFFEE_COMPILER',
'less = fanstatic.compiler:LESS_COMPILER',
'sass = fanstatic.compiler:SASS_COMPILER',
],
'fanstatic.minifiers': [
'cssmin = fanstatic.compiler:CSSMIN_MINIFIER',
'jsmin = fanstatic.compiler:JSMIN_MINIFIER',
'closure = fanstatic.compiler:CLOSURE_MINIFIER',
]
})