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.")

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// pylint: disable=wrong-import-position
import os
import subprocess
import warnings
from setuptools import setup, find_packages
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

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: theislab/scanpy
Commit Name: d9a984010d15b818bae54e9d41a7bc439b892b53
Time: 2017-07-25
Author: f.alex.wolf@gmx.de
File Name: setup.py
Class Name:
Method Name: