File: setup.py

package info (click to toggle)
python-calmjs 3.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,284 kB
  • sloc: python: 15,763; javascript: 56; makefile: 19
file content (138 lines) | stat: -rw-r--r-- 5,298 bytes parent folder | download
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
from setuptools import setup
from setuptools import find_packages

version = '3.4.1'

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 :: Software Development :: Libraries
Topic :: System :: Software Distribution
Topic :: Utilities
""".strip().splitlines()

setup(
    name='calmjs',
    version=version,
    description=(
        'A Python framework for building toolchains and utilities for working '
        'with the Node.js ecosystem from within a Python environment.'
    ),
    long_description=(
        open('README.rst').read() + "\n" +
        open('CHANGES.rst').read()
    ),
    classifiers=classifiers,
    keywords='',
    author='Tommy Yu',
    author_email='tommy.yu@auckland.ac.nz',
    url='https://github.com/calmjs/calmjs/',
    license='GPL',
    packages=find_packages('src', exclude=['ez_setup']),
    package_dir={'': 'src'},
    namespace_packages=['calmjs'],
    zip_safe=False,
    install_requires=[
        'setuptools>=12',
        'calmjs.types',
        'calmjs.parse>=1.0.0,!=1.1.0,!=1.1.1,<2',
    ],
    include_package_data=True,
    python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
    entry_points={
        'console_scripts': [
            'calmjs = calmjs.runtime:main',
        ],
        'calmjs.runtime': [
            'artifact = calmjs.runtime:artifact',
            'npm = calmjs.npm:npm.runtime',
            'yarn = calmjs.yarn:yarn.runtime',
        ],
        'calmjs.runtime.artifact': [
            'build = calmjs.runtime:artifact_build',
        ],
        'distutils.commands': [
            'npm = calmjs.npm:npm',
            'yarn = calmjs.yarn:yarn',
            'build_calmjs_artifacts = calmjs.artifact:build_calmjs_artifacts',
        ],
        'distutils.setup_keywords': [
            'package_json = calmjs.dist:validate_json_field',
            'extras_calmjs = calmjs.dist:validate_json_field',
            'calmjs_module_registry = calmjs.dist:validate_line_list',
            'build_calmjs_artifacts = calmjs.dist:build_calmjs_artifacts',
        ],
        'egg_info.writers': [
            'package.json = calmjs.npm:write_package_json',
            'extras_calmjs.json = calmjs.dist:write_extras_calmjs',
            ('calmjs_module_registry.txt = '
                'calmjs.dist:write_module_registry_names'),
        ],
        'calmjs.extras_keys': [
            'node_modules = enabled',
        ],
        'calmjs.registry': [
            'calmjs.registry = calmjs.registry:Registry',

            'calmjs.artifacts = calmjs.artifact:ArtifactRegistry',
            'calmjs.extras_keys = calmjs.module:ExtrasJsonKeysRegistry',
            'calmjs.module = calmjs.module:ModuleRegistry',
            'calmjs.module.loader = calmjs.loaderplugin:ModuleLoaderRegistry',
            'calmjs.module.tests = calmjs.module:ModuleRegistry',
            ('calmjs.module.tests.loader'
                ' = calmjs.loaderplugin:ModuleLoaderRegistry'),
            'calmjs.py.module = calmjs.module:PythonicModuleRegistry',
            'calmjs.py.module.tests = calmjs.module:PythonicModuleRegistry',
            'calmjs.toolchain.advice = calmjs.toolchain:AdviceRegistry',
            ('calmjs.toolchain.advice.apply'
                ' = calmjs.toolchain:AdviceApplyRegistry'),
        ],
        'calmjs.reserved': [
            'calmjs.artifacts = calmjs',
            'calmjs.artifacts.tests = calmjs.dev',
            'calmjs.dev.module = calmjs.dev',
            'calmjs.dev.module.tests = calmjs.dev',
            'calmjs.extras_keys = calmjs',
            'calmjs.module = calmjs',
            'calmjs.module.loader = calmjs',
            'calmjs.module.tests = calmjs',
            'calmjs.module.tests.loader = calmjs',
            'calmjs.module.webpackloader = calmjs.webpack',
            'calmjs.module.tests.webpackloader = calmjs.webpack',
            'calmjs.registry = calmjs',
            'calmjs.reserved = calmjs',
            'calmjs.py.module = calmjs',
            'calmjs.py.module.tests = calmjs',
            'calmjs.toolchain.advice = calmjs',
            'calmjs.toolchain.advice.apply = calmjs',
            'calmjs.webpack.loaderplugins = calmjs.webpack',
            'calmjs.webpack.static.loaderplugins = calmjs.webpack',
        ],
        'calmjs.toolchain.advice': [
            'calmjs.toolchain:Toolchain = calmjs.toolchain:debugger',
        ],
    },
    test_suite="calmjs.tests.make_suite",
)