d49df588e9bc5e13d02258536070b0f9be181e3e,setup.py,,,#,41
Before Change
raise ValueError("Failed to parse version from: {}".format(version_py))
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
setup(
// Package information
name="kur",
version=get_version(),
description="Descriptive deep learning",
long_description=readme(),
keywords="deep learning",
classifiers=[
],
// Author information
url="https://github.com/deepgram/kur",
author="Adam Sypniewski",
author_email="adam@deepgram.com",
license="Apache Software License "
"(http://www.apache.org/licenses/LICENSE-2.0)",
// What is packaged here.
packages=find_packages(),
// What to include.
package_data={
"": ["*.txt", "*.rst", "*.md"]
},
// Dependencies
install_requires=[
"pyyaml",
"jinja2",
"numpy",
"requests",
"tqdm",
// Keras - the default backend (with Theano)
"keras",
"theano"
],
dependency_links=[
],
// Testing
test_suite="tests",
tests_require=["pytest", "tensorflow"],
setup_requires=["pytest-runner"],
entry_points={
"console_scripts" : ["kur=kur.__main__:main"]
},
zip_safe=False
)
//////// EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF
After Change
sys.exit(1)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if sys.version_info < (3, 4):
error_message("Kur requires Python 3.4 or later.")
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: deepgram/kur
Commit Name: d49df588e9bc5e13d02258536070b0f9be181e3e
Time: 2016-12-05
Author: ajsyp@syptech.net
File Name: setup.py
Class Name:
Method Name:
Project Name: open-mmlab/mmcv
Commit Name: aea750051f7660cf61dbd2360a25ea0bd13efa3b
Time: 2019-11-21
Author: rinatshigapov@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: pymanopt/pymanopt
Commit Name: aba8edcf5e636a27711615315b935bb6a05ea173
Time: 2020-01-20
Author: niklas.koep@gmail.com
File Name: setup.py
Class Name:
Method Name: