-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
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,37 @@ | ||
[metadata] | ||
license = GNU General Public License v3 or later (GPLv3+) | ||
license_file = LICENSE | ||
platforms = any | ||
description = CLI application to generate emails and fetch OTPs. | ||
long_description = file: README.md | ||
keywords = otp, email | ||
classifier = | ||
Development Status :: 4 - Beta | ||
Intended Audience :: End Users/Desktop | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) | ||
Operating System :: OS Independent | ||
Programming Language :: Python :: 3.5 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Topic :: Utilities | ||
|
||
[flake8] | ||
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build | ||
|
||
[isort] | ||
# https://github.com/timothycrosley/isort | ||
# https://github.com/timothycrosley/isort/wiki/isort-Settings | ||
# splits long import on multiple lines indented by 4 spaces | ||
multi_line_output = 4 | ||
indent = " " | ||
# By default isort don't check module indexes | ||
not_skip = __init__.py | ||
# Will group `import x` and `from x import` of the same module. | ||
force_sort_within_sections = true | ||
sections = FUTURE,STDLIB,INBETWEENS,THIRDPARTY,FIRSTPARTY,LOCALFOLDER | ||
default_section = THIRDPARTY | ||
known_first_party = otp | ||
forced_separate = tests | ||
combine_as_imports = true | ||
use_parentheses = 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import os | ||
import sys | ||
|
||
try: | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
with open(os.path.join(here, 'README.md'), encoding='utf-8') as readme_file: | ||
long_description = readme_file.read() | ||
|
||
if sys.argv[-1] == 'publish': | ||
os.system('python3 setup.py sdist upload') | ||
sys.exit() | ||
|
||
setup( | ||
name='ote', | ||
version='0.0.1', | ||
description='CLI application to generate emails and fetch OTPs', | ||
long_description=long_description, | ||
url='https://github.com/s0md3v/ote', | ||
download_url='https://github.com/s0md3v/ote/releases', | ||
author='Somdev Sangwan', | ||
author_email='[email protected]', | ||
maintainer='Somdev Sangwan', | ||
maintainer_email='[email protected]', | ||
install_requires=['requests','html2text'], | ||
packages=['ote'], | ||
zip_safe=True, | ||
entry_points={ | ||
'console_scripts': [ | ||
'ote = ote.__main__:main' | ||
] | ||
}, | ||
) |