-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
107 lines (99 loc) · 3.31 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
from setuptools import setup, find_packages
version = '1.3.0'
classifiers = """
Development Status :: 5 - Production/Stable
Environment :: Console
Environment :: Plugins
Framework :: Setuptools Plugin
Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: POSIX :: BSD
Operating System :: POSIX :: Linux
Operating System :: OS Independent
Programming Language :: JavaScript
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Build Tools
Topic :: System :: Software Distribution
Topic :: Utilities
""".strip().splitlines()
package_json = {
"dependencies": {},
"devDependencies": {
"webpack": "~2.7.0",
"karma-webpack": "~3.0.0",
"sourcemap-istanbul-instrumenter-loader": "~0.2.0",
}
}
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.rst').read()
+ '\n')
setup(
name='calmjs.webpack',
version=version,
description=(
"Package for extending the Calmjs framework to support the usage of "
"webpack for the generation of deployable artifacts from "
"JavaScript source code provided by Python packages in "
"conjunction with standard JavaScript or Node.js packages sourced "
"from npm or other similar package repositories."
),
long_description=long_description,
classifiers=classifiers,
keywords='',
author='Tommy Yu',
author_email='[email protected]',
url='https://github.com/calmjs/calmjs.webpack',
license='gpl',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['calmjs'],
include_package_data=True,
zip_safe=False,
install_requires=[
'calmjs>=3.3.1',
],
extras_require={
'dev': [
'calmjs.dev>=2.2.2,<3',
],
},
entry_points={
'calmjs.registry': [
'calmjs.webpack.loaderplugins = '
'calmjs.webpack.loaderplugin:AutogenWebpackLoaderPluginRegistry',
'calmjs.webpack.static.loaderplugins = '
'calmjs.loaderplugin:LoaderPluginRegistry',
'calmjs.module.webpackloader = '
'calmjs.webpack.loaderplugin:WebpackModuleLoaderRegistry',
'calmjs.module.tests.webpackloader = '
'calmjs.webpack.loaderplugin:WebpackModuleLoaderRegistry',
],
'calmjs.webpack.static.loaderplugins': [
'text = calmjs.webpack.loaderplugin:WebpackLoaderHandler',
],
'calmjs.runtime': [
'webpack = calmjs.webpack.runtime:default',
],
'calmjs.toolchain.advice': [
'calmjs.dev.toolchain:KarmaToolchain = '
'calmjs.webpack.dev:webpack_advice',
],
},
package_json=package_json,
calmjs_module_registry=['calmjs.module'],
test_suite="calmjs.webpack.tests.make_suite",
)