Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
setup.py
作成日
5 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
7 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
88 行
すべてコピー
3 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
88 行
すべてコピー
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import os
import os
from setuptools import find_packages
from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__))
here = os.path.abspath(os.path.dirname(__file__))
about = {}
about = {}
with open(os.path.join(here, 'camelot', '__version__.py'), 'r') as f:
with open(os.path.join(here, 'camelot', '__version__.py'), 'r') as f:
exec(f.read(), about)
exec(f.read(), about)
with open('README.md', 'r') as f:
with open('README.md', 'r') as f:
readme = f.read()
readme = f.read()
requires = [
requires = [
'chardet>=3.0.4',
'chardet>=3.0.4',
'click>=6.7',
'click>=6.7',
'numpy>=1.13.3',
'numpy>=1.13.3',
'openpyxl>=2.5.8',
'openpyxl>=2.5.8',
'pandas>=0.23.4',
'pandas>=0.23.4',
'pdfminer.six>=20200726',
'pdfminer.six>=20200726',
コピー
コピー済み
コピー
コピー済み
'Py
PDF
2>
=1.
26.0
'
'Py
Mu
PDF
=
=1.
18.5
'
]
]
cv_requires = [
cv_requires = [
'opencv-python>=3.4.2.17'
'opencv-python>=3.4.2.17'
]
]
plot_requires = [
plot_requires = [
'matplotlib>=2.2.3',
'matplotlib>=2.2.3',
]
]
dev_requires = [
dev_requires = [
'codecov>=2.0.15',
'codecov>=2.0.15',
'pytest>=5.4.3',
'pytest>=5.4.3',
'pytest-cov>=2.10.0',
'pytest-cov>=2.10.0',
'pytest-mpl>=0.11',
'pytest-mpl>=0.11',
'pytest-runner>=5.2',
'pytest-runner>=5.2',
'Sphinx>=3.1.2'
'Sphinx>=3.1.2'
]
]
all_requires = cv_requires + plot_requires
all_requires = cv_requires + plot_requires
dev_requires = dev_requires + all_requires
dev_requires = dev_requires + all_requires
def setup_package():
def setup_package():
metadata = dict(name=about['__title__'],
metadata = dict(name=about['__title__'],
version=about['__version__'],
version=about['__version__'],
description=about['__description__'],
description=about['__description__'],
long_description=readme,
long_description=readme,
long_description_content_type="text/markdown",
long_description_content_type="text/markdown",
url=about['__url__'],
url=about['__url__'],
author=about['__author__'],
author=about['__author__'],
author_email=about['__author_email__'],
author_email=about['__author_email__'],
license=about['__license__'],
license=about['__license__'],
packages=find_packages(exclude=('tests',)),
packages=find_packages(exclude=('tests',)),
install_requires=requires,
install_requires=requires,
extras_require={
extras_require={
'all': all_requires,
'all': all_requires,
'cv': cv_requires,
'cv': cv_requires,
'dev': dev_requires,
'dev': dev_requires,
'plot': plot_requires
'plot': plot_requires
コピー
コピー済み
コピー
コピー済み
},
},
entry_points={
entry_points={
'console_scripts': [
'console_scripts': [
'camelot = camelot.cli:cli',
'camelot = camelot.cli:cli',
],
],
コピー
コピー済み
コピー
コピー済み
},
},
classifiers=[
classifiers=[
# Trove classifiers
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
'License :: OSI Approved :: MIT License',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.8'
コピー
コピー済み
コピー
コピー済み
])
])
try:
try:
from setuptools import setup
from setuptools import setup
except ImportError:
except ImportError:
from distutils.core import setup
from distutils.core import setup
setup(**metadata)
setup(**metadata)
if __name__ == '__main__':
if __name__ == '__main__':
setup_package()
setup_package()
保存された差分
原文
ファイルを開く
# -*- coding: utf-8 -*- import os from setuptools import find_packages here = os.path.abspath(os.path.dirname(__file__)) about = {} with open(os.path.join(here, 'camelot', '__version__.py'), 'r') as f: exec(f.read(), about) with open('README.md', 'r') as f: readme = f.read() requires = [ 'chardet>=3.0.4', 'click>=6.7', 'numpy>=1.13.3', 'openpyxl>=2.5.8', 'pandas>=0.23.4', 'pdfminer.six>=20200726', 'PyPDF2>=1.26.0' ] cv_requires = [ 'opencv-python>=3.4.2.17' ] plot_requires = [ 'matplotlib>=2.2.3', ] dev_requires = [ 'codecov>=2.0.15', 'pytest>=5.4.3', 'pytest-cov>=2.10.0', 'pytest-mpl>=0.11', 'pytest-runner>=5.2', 'Sphinx>=3.1.2' ] all_requires = cv_requires + plot_requires dev_requires = dev_requires + all_requires def setup_package(): metadata = dict(name=about['__title__'], version=about['__version__'], description=about['__description__'], long_description=readme, long_description_content_type="text/markdown", url=about['__url__'], author=about['__author__'], author_email=about['__author_email__'], license=about['__license__'], packages=find_packages(exclude=('tests',)), install_requires=requires, extras_require={ 'all': all_requires, 'cv': cv_requires, 'dev': dev_requires, 'plot': plot_requires }, entry_points={ 'console_scripts': [ 'camelot = camelot.cli:cli', ], }, classifiers=[ # Trove classifiers # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8' ]) try: from setuptools import setup except ImportError: from distutils.core import setup setup(**metadata) if __name__ == '__main__': setup_package()
変更されたテキスト
ファイルを開く
# -*- coding: utf-8 -*- import os from setuptools import find_packages here = os.path.abspath(os.path.dirname(__file__)) about = {} with open(os.path.join(here, 'camelot', '__version__.py'), 'r') as f: exec(f.read(), about) with open('README.md', 'r') as f: readme = f.read() requires = [ 'chardet>=3.0.4', 'click>=6.7', 'numpy>=1.13.3', 'openpyxl>=2.5.8', 'pandas>=0.23.4', 'pdfminer.six>=20200726', 'PyMuPDF==1.18.5' ] cv_requires = [ 'opencv-python>=3.4.2.17' ] plot_requires = [ 'matplotlib>=2.2.3', ] dev_requires = [ 'codecov>=2.0.15', 'pytest>=5.4.3', 'pytest-cov>=2.10.0', 'pytest-mpl>=0.11', 'pytest-runner>=5.2', 'Sphinx>=3.1.2' ] all_requires = cv_requires + plot_requires dev_requires = dev_requires + all_requires def setup_package(): metadata = dict(name=about['__title__'], version=about['__version__'], description=about['__description__'], long_description=readme, long_description_content_type="text/markdown", url=about['__url__'], author=about['__author__'], author_email=about['__author_email__'], license=about['__license__'], packages=find_packages(exclude=('tests',)), install_requires=requires, extras_require={ 'all': all_requires, 'cv': cv_requires, 'dev': dev_requires, 'plot': plot_requires }, entry_points={ 'console_scripts': [ 'camelot = camelot.cli:cli', ], }, classifiers=[ # Trove classifiers # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8' ]) try: from setuptools import setup except ImportError: from distutils.core import setup setup(**metadata) if __name__ == '__main__': setup_package()
違いを見つける