-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: packaging and configure typed marker
- Loading branch information
Showing
8 changed files
with
168 additions
and
126 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.0.18' | ||
__version__ = "0.0.18" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[metadata] | ||
name = deepl-cli | ||
version = attr: deepl.__version__ | ||
description = DeepL Translator CLI using Selenium | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/eggplants/deepl-cli | ||
license = MIT | ||
author = eggplants | ||
author_email = [email protected] | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
|
||
[options] | ||
packages = find: | ||
install_requires = | ||
pyppeteer>=1.0.2 | ||
packages_data = | ||
deepl = py.typed | ||
python_requires = >= 3.7 | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
deepl = deepl.main:main | ||
|
||
[options.extras_require] | ||
dev = | ||
black | ||
flake8 | ||
mypy | ||
setuptools>=46.4.0 | ||
types-setuptools | ||
|
||
[isort] | ||
profile = black | ||
|
||
[flake8] | ||
indent-size = 4 | ||
max-line-length = 88 | ||
extend-ignore = W605 | ||
|
||
[mypy] | ||
python_version = 3.9 | ||
show_error_codes = True | ||
pretty = True | ||
strict = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,3 @@ | ||
from setuptools import find_packages, setup # type: ignore | ||
from setuptools import setup | ||
|
||
from deepl import __version__ | ||
|
||
setup( | ||
name='deepl-cli', | ||
version=__version__, | ||
description='DeepL Translator CLI using Selenium', | ||
description_content_type='', | ||
long_description=open('README.md').read(), | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/eggplants/deepl-cli', | ||
author='eggplants', | ||
packages=find_packages(), | ||
python_requires='>=3.5, <3.10', | ||
include_package_data=True, | ||
license='MIT', | ||
install_requires=['pyppeteer'], | ||
entry_points={ | ||
'console_scripts': [ | ||
'deepl=deepl.main:main' | ||
] | ||
} | ||
) | ||
setup() |
Oops, something went wrong.