2f3f9e2f4ae603e48d0813a691cdd5265f6e38ba,setup.py,,,#,20
Before Change
from setuptools import setup
from setuptools import find_packages
setup(name="stellar-ml",
version="0.4.0b",
description="Stellar Machine Learning Library",
license="Apache 2.0",
install_requires=["keras", "numpy"],
setup_requires=["pytest-runner"],
tests_require=["pytest"],
extras_require={
"testing": [],
},
packages=find_packages())
After Change
import setuptools
DESCRIPTION = "Python library for machine learning on graphs"
URL = "https://github.com/stellargraph/stellar-ml"
VERSION = "0.4b"
// Required packages
REQUIRES = [
"keras",
"tensorflow",
"numpy",
"networkx",
"progressbar2",
"scikit_learn",
"matplotlib",
"gensim",
]
EXTRAS_REQURES = {"demos": ["pandas"], "tests": ["pytest", "pytest-pep8", "pandas"]}
// Long description
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
setuptools.setup(
name="stellar-ml",
version=VERSION,
description=DESCRIPTION,
author="Data61, CSIRO",
url=URL,
license="Apache 2.0",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
include_package_data=True,
install_requires=REQUIRES,
extras_require=EXTRAS_REQURES,
packages=setuptools.find_packages(exclude=("tests",)),
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances
Project Name: stellargraph/stellargraph
Commit Name: 2f3f9e2f4ae603e48d0813a691cdd5265f6e38ba
Time: 2018-08-21
Author: docherty@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: automl/SMAC3
Commit Name: f49ed6710d38c99be0a734727ae7519ac7125844
Time: 2019-01-03
Author: eggenspk@informatik.uni-freiburg.de
File Name: setup.py
Class Name:
Method Name:
Project Name: HDI-Project/MLBlocks
Commit Name: 835b683b85ff0ff8d812fadf3dad2371cb09c020
Time: 2018-04-09
Author: williamxue@dhcp-18-111-53-173.dyn.mit.edu
File Name: setup.py
Class Name:
Method Name: