6525df74b152ebf457064aa757faac80df9cdd89,setup.py,,,#,159

Before Change



mathjax_files = list(subdirs("media/js/mathjax/"))

setup(
    name="Mathics",
    cmdclass=CMDCLASS,
    ext_modules=EXTENSIONS,
    version=__version__,
    packages=[
        "mathics",
        "mathics.algorithm",
        "mathics.core",
        "mathics.core.parser",
        "mathics.builtin",
        "mathics.builtin.pymimesniffer",
        "mathics.builtin.numpy_utils",
        "mathics.builtin.pympler",
        "mathics.builtin.compile",
        "mathics.doc",
        "mathics.web",
        "mathics.web.templatetags",
        "mathics.web.migrations",
        "pymathics.testpymathicsmodule"
    ],
    install_requires=INSTALL_REQUIRES,
    dependency_links=DEPENDENCY_LINKS,
    package_data={
        "mathics": [
            "data/*.csv",
            "data/ExampleData/*",
            "autoload/formats/*/Import.m",
            "autoload/formats/*/Export.m",
            "packages/*/*.m",
            "packages/*/Kernel/init.m",
        ],
        "mathics.doc": ["documentation/*.mdoc", "xml/data"],
        "mathics.web": [
            "media/css/*.css",
            "media/img/*.*",
            "media/fonts/*",
            "media/img/favicons/*",
            "media/js/innerdom/*.js",
            "media/js/prototype/*.js",
            "media/js/scriptaculous/*.js",
            "media/js/three/Three.js",
            "media/js/three/Detector.js",
            "media/js/*.js",
            "templates/*.html",
            "templates/doc/*.html",
        ]
        + mathjax_files,
        "mathics.builtin.pymimesniffer": ["mimetypes.xml"],
        "pymathics": ["doc/documentation/*.mdoc", "doc/xml/data"],
    },
    entry_points={
        "console_scripts": [
            "mathics = mathics.main:main",
            "mathicsserver = mathics.server:main",
            "mathicsscript = mathics.script:main",
        ],
    },
    // don"t pack Mathics in egg because of media files, etc.
    zip_safe=False,
    // metadata for upload to PyPI
    author="Angus Griffith",
    author_email="mathics@angusgriffith.com",
    description="A general-purpose computer algebra system.",
    license="GPL",
    url="https://mathics.org/",
    download_url="https://github.com/mathics/Mathics/tarball/v1.1dev",
    keywords=["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"],
    classifiers=[
        "Intended Audience :: Developers",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
        "Programming Language :: Python",

        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Scientific/Engineering",
        "Topic :: Scientific/Engineering :: Mathematics",
        "Topic :: Scientific/Engineering :: Physics",
        "Topic :: Software Development :: Interpreters",
    ],
    // TODO: could also include long_description, download_url,
)

After Change


DEPENDENCY_LINKS = []

try:
    if is_PyPy:
        raise ImportError
    from Cython.Distutils import build_ext
except ImportError:
    EXTENSIONS = []
    CMDCLASS = {}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mathics/Mathics
Commit Name: 6525df74b152ebf457064aa757faac80df9cdd89
Time: 2020-10-24
Author: rb@dustyfeet.com
File Name: setup.py
Class Name:
Method Name:


Project Name: hyperopt/hyperopt
Commit Name: 0ffbad0ae0e3d389f6d9c01c2e0e6bbea9e2018a
Time: 2012-02-14
Author: james.bergstra@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: hmmlearn/hmmlearn
Commit Name: 1f60373d28c427a2a05c9ea26231c717772066dc
Time: 2018-10-22
Author: anntzer.lee@gmail.com
File Name: setup.py
Class Name:
Method Name: