5a4c031a937ab6a46159780bce0e0b99a25963ab,setup.py,,main,#,88
Before Change
// This includes for bdist only. sdist uses MANIFEST.in
package_data = dict(zip(packages, [["tests/*.py"]]*len(packages)))
kwds = {
"name": "dit",
"version": version,
"url": "http://dit.io",
"python_requires": python_requires,
"packages": packages,
"package_data": package_data,
"provides": ["dit"],
"install_requires": install_requires,
"ext_modules": ext_modules,
"cmdclass": cmdclass,
"data_files": data_files,
"include_package_data": True,
"author": "Humans",
"author_email": "admin@dit.io",
"description": "Python package for information theory.",
"long_description": open("README.rst").read(),
"license": "BSD",
"classifiers": [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
]
}
setup(**kwds)
if __name__ == "__main__":
if sys.argv[-1] == "setup.py":
print("To install, run "python setup.py install"\n")
After Change
// This includes for bdist only. sdist uses MANIFEST.in
package_data = dict(zip(packages, [["tests/*.py"]]*len(packages)))
setup(
name=NAME,
version=VERSION,
url=URL,
python_requires=python_requires,
packages=packages,
package_data=package_data,
provides=["dit"],
install_requires=install_requires,
ext_modules=ext_modules,
cmdclass=cmdclass,
data_files=data_files,
include_package_data=True,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=open("README.rst").read(),
license="BSD",
classifiers=[
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
],
)
if __name__ == "__main__":
if sys.argv[-1] == "setup.py":
print("To install, run "python setup.py install"\n")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dit/dit
Commit Name: 5a4c031a937ab6a46159780bce0e0b99a25963ab
Time: 2017-09-28
Author: ryangregoryjames@gmail.com
File Name: setup.py
Class Name:
Method Name: main
Project Name: pymanopt/pymanopt
Commit Name: a92c7124230c885538cde4840a4e338ba459de92
Time: 2016-11-15
Author: jamiehntownsend@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: deepchem/deepchem
Commit Name: 175f1edf1ed5bd5781e4e295c76b9cd056035408
Time: 2020-06-09
Author: nd.12021218@gmail.com
File Name: setup.py
Class Name:
Method Name: