Chris
commited on
Commit
·
ef69eb9
1
Parent(s):
279b84e
Modified setup script to be more compliant with PEP 517
Browse files- setup.cfg +68 -14
- setup.py → setup.py.bak +0 -0
setup.cfg
CHANGED
|
@@ -1,26 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[bumpversion]
|
| 2 |
current_version = 1.4.4
|
| 3 |
commit = True
|
| 4 |
tag = True
|
| 5 |
|
| 6 |
[bumpversion:file:setup.py]
|
| 7 |
-
search = version=
|
| 8 |
-
replace = version=
|
| 9 |
|
| 10 |
[bumpversion:file:deep_translator/__init__.py]
|
| 11 |
-
search = __version__ =
|
| 12 |
-
replace = __version__ =
|
| 13 |
-
|
| 14 |
-
[bdist_wheel]
|
| 15 |
-
universal = 1
|
| 16 |
|
| 17 |
-
[
|
| 18 |
-
|
| 19 |
|
| 20 |
-
[
|
| 21 |
-
#
|
| 22 |
-
test = pytest
|
| 23 |
|
| 24 |
-
[
|
| 25 |
-
|
|
|
|
| 26 |
|
|
|
|
|
|
|
|
|
| 1 |
+
#main config
|
| 2 |
+
[metadata]
|
| 3 |
+
name = Deep Translator
|
| 4 |
+
version = 1.4.4
|
| 5 |
+
url = https://github.com/nidhaloff/deep_translator
|
| 6 |
+
author = Nidhal Baccouri
|
| 7 |
+
author_email = [email protected]
|
| 8 |
+
maintainer = Nidhal Baccouri
|
| 9 |
+
maintainer_email = [email protected]
|
| 10 |
+
classifiers =
|
| 11 |
+
Development Status :: 5 - Production/Stable,
|
| 12 |
+
Intended Audience :: Developers,
|
| 13 |
+
Intended Audience :: Education,
|
| 14 |
+
Intended Audience :: Information Technology,
|
| 15 |
+
License :: OSI Approved :: MIT License,
|
| 16 |
+
Topic :: Education,
|
| 17 |
+
Topic :: Software Development,
|
| 18 |
+
Topic :: Communications,
|
| 19 |
+
Topic :: Text Processing,
|
| 20 |
+
Topic :: Text Processing :: Linguistic,
|
| 21 |
+
Natural Language :: English,
|
| 22 |
+
Operating System :: OS Independent,
|
| 23 |
+
Programming Language :: Python :: 3,
|
| 24 |
+
Programming Language :: Python :: 3.5,
|
| 25 |
+
Programming Language :: Python :: 3.6,
|
| 26 |
+
Programming Language :: Python :: 3.7,
|
| 27 |
+
Programming Language :: Python :: 3.8
|
| 28 |
+
license = MIT
|
| 29 |
+
license_files = file:LICENSE
|
| 30 |
+
description = A flexible python tool to translate between different languages in a simple way.
|
| 31 |
+
long_description = file:README.rst
|
| 32 |
+
long_description_content_type = text/rst
|
| 33 |
+
keywords = deep_translator, deepL, DeepL, translator, translation, automation,
|
| 34 |
+
web scraping, google translator, google translation, google trans, PONS,
|
| 35 |
+
YANDEX, MyMemory translator, Linguee, QCRI, Language, Language detection,
|
| 36 |
+
detect language, free translation, unlimited translation, translate for free
|
| 37 |
+
|
| 38 |
+
[options]
|
| 39 |
+
zip_safe = 0
|
| 40 |
+
setup_requires = pytest-runner
|
| 41 |
+
install_requires = requests, beautifulsoup4, click
|
| 42 |
+
python_requires = >=3.0
|
| 43 |
+
tests_require = pytest>=3
|
| 44 |
+
include_package_data = 1
|
| 45 |
+
packages = find:
|
| 46 |
+
package_dir = =deep_translator
|
| 47 |
+
|
| 48 |
+
[options.entry_points]
|
| 49 |
+
console_scripts = deep-translator = __main__:main
|
| 50 |
+
dt = __main__:main
|
| 51 |
+
|
| 52 |
+
[options.packages.find]
|
| 53 |
+
where = deep_translator
|
| 54 |
+
|
| 55 |
+
# bumpversion config
|
| 56 |
[bumpversion]
|
| 57 |
current_version = 1.4.4
|
| 58 |
commit = True
|
| 59 |
tag = True
|
| 60 |
|
| 61 |
[bumpversion:file:setup.py]
|
| 62 |
+
search = version={current_version}
|
| 63 |
+
replace = version={new_version}
|
| 64 |
|
| 65 |
[bumpversion:file:deep_translator/__init__.py]
|
| 66 |
+
search = __version__ = {current_version}
|
| 67 |
+
replace = __version__ = {new_version}
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
+
# [bdist_wheel]
|
| 70 |
+
# universal = 1
|
| 71 |
|
| 72 |
+
# [flake8]
|
| 73 |
+
# exclude = docs
|
|
|
|
| 74 |
|
| 75 |
+
# [aliases]
|
| 76 |
+
# # Define setup.py command aliases here
|
| 77 |
+
# test = pytest
|
| 78 |
|
| 79 |
+
# [tool:pytest]
|
| 80 |
+
# collect_ignore = [setup.py]
|
setup.py → setup.py.bak
RENAMED
|
File without changes
|